Cerere Plugin

Cereri de pluginuri noi, skinuri in CS, etc.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
ImparctVirtual
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 21 Jun 2018, 02:41
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

09 Jul 2018, 20:59

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
eXtreamSHOP
User avatar
DevilBoy.eXe
Moderator ajutator
Moderator ajutator
Posts: 1259
Joined: 05 Jun 2016, 22:04
Detinator Steam: Da
Detinator server CS: GO.WARED.RO
SteamID: DevilBoy_eXe
Reputatie: Moderator ajutator
Fond eXtream: -1
Location: beyond the time
Has thanked: 4 times
Been thanked: 3 times
Contact:

09 Jul 2018, 21:59

Last edited by DevilBoy.eXe on 09 Jul 2018, 23:02, edited 1 time in total.
ImparctVirtual
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 21 Jun 2018, 02:41
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

09 Jul 2018, 22:23

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.
User avatar
DevilBoy.eXe
Moderator ajutator
Moderator ajutator
Posts: 1259
Joined: 05 Jun 2016, 22:04
Detinator Steam: Da
Detinator server CS: GO.WARED.RO
SteamID: DevilBoy_eXe
Reputatie: Moderator ajutator
Fond eXtream: -1
Location: beyond the time
Has thanked: 4 times
Been thanked: 3 times
Contact:

09 Jul 2018, 23:05

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
ImparctVirtual
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 21 Jun 2018, 02:41
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

09 Jul 2018, 23:33

mi-l poti da tu direct sma daca doresti te rog frumos?
User avatar
Laurentiu P.
Super moderator
Super moderator
Posts: 2210
Joined: 10 Jul 2013, 20:26
Detinator Steam: Da
CS Status: Activitate scazuta !
Detinator server CS: Da
SteamID: trust_ro
Reputatie: Moderator > Super moderator
Nume anterior: Do[N]e ;3
Fond eXtream: 1
Location: Constanta
Has thanked: 4 times
Been thanked: 15 times

10 Jul 2018, 07:13

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: Select all

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")
	}
}
Image
ImparctVirtual
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 21 Jun 2018, 02:41
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

10 Jul 2018, 13:06

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!
ImparctVirtual
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 21 Jun 2018, 02:41
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

11 Jul 2018, 22:59

:up: :up: :new:
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests