It is currently 19 Dec 2018 18:46






Reply to topic  [ 8 posts ] 
 Cerere Plugin 
Author Message
Online
Membru, skill 0
Membru, skill 0

Joined: 21 Jun 2018 02:41
Posts: 57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Salut am nevoie si eu de un plugin care executa un cvar intre anumite ore dela ora 20 pana la ora 09
Ex: amx_cvar sv_maxspeed 999


09 Jul 2018 20:59
Profile multumesc WWW
Online
Moderator ajutator
Moderator ajutator
User avatar

Joined: 05 Jun 2016 22:04
Posts: 1156
Location: beyond the time
Detinator Steam: Da
Detinator server CS: GO/CSGO.WARED.RO
SteamID: DevilBoy_eXe
Reputatie: Moderator ajutator
Fond eXtream: 0
https://forums.alliedmods.net/showthread.php?t=1263

_________________


Last edited by DevilBoy.eXe on 09 Jul 2018 23:02, edited 1 time in total.



09 Jul 2018 21:59
Profile multumesc YIM WWW
Online
Membru, skill 0
Membru, skill 0

Joined: 21 Jun 2018 02:41
Posts: 57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
ce-mi dai aici trait-ar familia. nu asta am cerut.

am cerut un plugin care seteaza un anumit cvar la anumite ore

Ex:

la ora 21:00 server-ul seteaza automat amx_cvar zp_human_unlimited_ammo 2

la ora 09:00 server-ul seteaza automat amx_cvar zp_human_unlimited_ammo 1


acest zp_human_unlimited_ammo

am in zombieplague.cfg Da eu nu vreau sa dau permanent gloante infinite ci la anumite ore.


09 Jul 2018 22:23
Profile multumesc WWW
Online
Moderator ajutator
Moderator ajutator
User avatar

Joined: 05 Jun 2016 22:04
Posts: 1156
Location: beyond the time
Detinator Steam: Da
Detinator server CS: GO/CSGO.WARED.RO
SteamID: DevilBoy_eXe
Reputatie: Moderator ajutator
Fond eXtream: 0
Face exact cea ce vrei tu sa faca
Astea la pui in amxx.cfg
amx_task 21:00 "amx_cvar zp_human_unlimited_ammo 2" t
amx_task 09:00 "amx_cvar zp_human_unlimited_ammo 1" t

_________________


09 Jul 2018 23:05
Profile multumesc YIM WWW
Online
Membru, skill 0
Membru, skill 0

Joined: 21 Jun 2018 02:41
Posts: 57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
mi-l poti da tu direct sma daca doresti te rog frumos?


09 Jul 2018 23:33
Profile multumesc WWW
Super moderator
Super moderator
User avatar

Joined: 10 Jul 2013 20:26
Posts: 2124
Location: Constanta
Detinator Steam: Da
Detinator server CS: Da
Reputatie: Super moderator
Nume anterior: Do[N]e ;3
Fond eXtream: 0
ImparctVirtual wrote:
ce-mi dai aici trait-ar familia. nu asta am cerut.

am cerut un plugin care seteaza un anumit cvar la anumite ore

Ex:

la ora 21:00 server-ul seteaza automat amx_cvar zp_human_unlimited_ammo 2

la ora 09:00 server-ul seteaza automat amx_cvar zp_human_unlimited_ammo 1


acest zp_human_unlimited_ammo

am in zombieplague.cfg Da eu nu vreau sa dau permanent gloante infinite ci la anumite ore.


Code:
include <amxmodx>

new a[6]

public plugin_init()
{
   register_plugin("Map Scheduler", "1.0", "Author")

   set_task(60.0, "task_check_time", 38427236, _, _, "b")
}

public task_check_time()
{
   get_time("%H:%M", a, 5)

   if (equal(a, "21:00"))
   {
      server_cmd("amx_rcon zp_human_unlimited_ammo 2")
   }

   if (equal(a, "09:00"))
   {
      server_cmd("amx_rcon zp_human_unlimited_ammo 1")
   }
}


10 Jul 2018 07:13
Profile multumesc
Online
Membru, skill 0
Membru, skill 0

Joined: 21 Jun 2018 02:41
Posts: 57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
EDIT: da eroare la compliat

AMX Mod X Compiler 1.8.3-manual
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Modified for www.Freakz.ro / amx.freakz.ro

zp_gloante_infinite.sma(1) : error 010: invalid function or declaration
zp_gloante_infinite.sma(7) : error 017: undefined symbol "register_plugin"
zp_gloante_infinite.sma(9) : error 017: undefined symbol "set_task"
zp_gloante_infinite.sma(14) : error 017: undefined symbol "get_time"
zp_gloante_infinite.sma(16) : error 017: undefined symbol "equal"
zp_gloante_infinite.sma(18) : error 017: undefined symbol "server_cmd"
zp_gloante_infinite.sma(21) : error 017: undefined symbol "equal"
zp_gloante_infinite.sma(23) : error 017: undefined symbol "server_cmd"

8 Errors.
Compilarea a esuat!


10 Jul 2018 13:06
Profile multumesc WWW
Online
Membru, skill 0
Membru, skill 0

Joined: 21 Jun 2018 02:41
Posts: 57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
:up: :up: :new:


11 Jul 2018 22:59
Profile multumesc WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

În cazul în care aveți probleme cu contul trimiteți un email sau mesaj la servicii_extream[arond]yahoo[punct]com

Powered by phpBB® Forum Software © phpBB Group