It is currently 21 Jul 2018 09:06






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

Joined: 21 Jun 2018 03:41
Posts: 29
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 21:59
Profile multumesc WWW
Online
Membru, skill +2
Membru, skill +2
User avatar

Joined: 05 Jun 2016 23:04
Posts: 807
Location: WWW.WARED.RO
Detinator Steam: Da
CS Status: WWW.WARED.RO
Detinator server CS: GO/CSGO.WARED.RO
SteamID: DevilBoy_eXe
Fond eXtream: 0
https://forums.alliedmods.net/showthread.php?t=1263

_________________
ImageImage
Tranzactii efectuate:
| Afiseaza codul
Toti au dat primi!
https://i.imgur.com/8pob2nT.png
https://i.imgur.com/I3aaoAn.png
https://i.imgur.com/oa1IASc.png
https://i.imgur.com/cPHpfcm.png
https://i.imgur.com/QoAsi2x.png
http://prntscr.com/j4yumf
https://image.prntscr.com/image/sTnbhKN7SgGANI7rrRMYqA.png
https://i.imgur.com/Uyq3P48.png
https://image.prntscr.com/image/3vu6JMW_TjS2-iloHe9xRA.png


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



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

Joined: 21 Jun 2018 03:41
Posts: 29
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 23:23
Profile multumesc WWW
Online
Membru, skill +2
Membru, skill +2
User avatar

Joined: 05 Jun 2016 23:04
Posts: 807
Location: WWW.WARED.RO
Detinator Steam: Da
CS Status: WWW.WARED.RO
Detinator server CS: GO/CSGO.WARED.RO
SteamID: DevilBoy_eXe
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

_________________
ImageImage
Tranzactii efectuate:
| Afiseaza codul
Toti au dat primi!
https://i.imgur.com/8pob2nT.png
https://i.imgur.com/I3aaoAn.png
https://i.imgur.com/oa1IASc.png
https://i.imgur.com/cPHpfcm.png
https://i.imgur.com/QoAsi2x.png
http://prntscr.com/j4yumf
https://image.prntscr.com/image/sTnbhKN7SgGANI7rrRMYqA.png
https://i.imgur.com/Uyq3P48.png
https://image.prntscr.com/image/3vu6JMW_TjS2-iloHe9xRA.png


10 Jul 2018 00:05
Profile multumesc YIM WWW
Membru, skill 0
Membru, skill 0

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


10 Jul 2018 00:33
Profile multumesc WWW
Fost moderator
Fost moderator
User avatar

Joined: 10 Jul 2013 21:26
Posts: 1566
Location: Constanta
Detinator Steam: Da
CS Status: Nope
Detinator server CS: Nope
SteamID: Nope
Reputatie: Fost Moderator
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")
   }
}

_________________
:information_source: Ofer Servere Counter-Strike 1,6 moca la 10 euro
Image


10 Jul 2018 08:13
Profile multumesc YIM WWW
Membru, skill 0
Membru, skill 0

Joined: 21 Jun 2018 03:41
Posts: 29
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 14:06
Profile multumesc WWW
Membru, skill 0
Membru, skill 0

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


11 Jul 2018 23: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 17 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