wykonanie polecenia na graczy przez konsole
BW:*|4fun
06.10.2009
Witam, kto mi napisze plugin, ktory by po 20 minutach od rozpoczecia mapy wpisywal w konsole kazdemu graczowi polecenie "say /rate"
czyli plugin zmuszajacy graczy do napisania /rate po 20 minutach od rozpoczecia mapy.
czyli plugin zmuszajacy graczy do napisania /rate po 20 minutach od rozpoczecia mapy.
mgr inż. Pavulon
06.10.2009
#include <amxmodx> public plugin_init() { register_plugin("New Plug-In", "1.0", "AMXX.PL") set_task(60.0*20, "say_rate") } public say_rate() client_cmd(0, "say /rate")
BW:*|4fun
07.10.2009
Taki error przy kompilacji na lokalu
A taki przy kompilacji online
Bardzo proszę o pomoc ;]
//// sayrate.sma // D:Downloadsamxmodx-1.8.1-baseaddons/amxmodx/scriptingsayrate.sma(9) : error 001: expected token: ",", but found "-end of file-" // // 1 Error. // Could not locate output file compiledsayrate.amx (compile failed).
A taki przy kompilacji online
/home/groups/amxmodx/compiler3/core(0) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(5) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(6) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(7) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(8) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(9) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(10) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(11) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(12) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(13) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(14) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(15) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(17) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(18) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(19) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(20) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(21) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(22) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(23) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(24) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(25) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(26) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(27) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(28) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(29) : error 075: input line too long (after substitutions) /home/groups/amxmodx/compiler3/core(30) : error 075: input line too long (after substitutions) Compilation aborted. 26 Errors. Done.
Bardzo proszę o pomoc ;]
naven
07.10.2009
Dziwne, mi kompiluje się ok
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team
Header size: 200 bytes
Code size: 332 bytes
Data size: 180 bytes
Stack/heap size: 16384 bytes; estimated max. usage=39 cells (156 bytes)
Total requirements: 17096 bytes
Done.
mgr inż. Pavulon
07.10.2009
No właśnie mi też bez problemów. Specjalnie testowałem lokalnie i tutaj.