Help with ZCMD - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with ZCMD (
/showthread.php?tid=355665)
Help with ZCMD -
PaulDinam - 30.06.2012
Everytime i add a command it compiling good but this is an exmaple:
CMD:me(playerid, params[])
{
if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /me [action]");
new string[128];
format(string, sizeof(string), "* %s %s", GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
return 1;
}
the error is
Код:
Current directory: C:\Users\Paul\Desktop\MyOwnRP\gamemodes
rp.pwn(344) : warning 203: symbol is never used: "me"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
================ READY ================
Re: Help with ZCMD -
WagnerPM - 30.06.2012
Put #include <zcmd>
Re: Help with ZCMD -
Toreno - 30.06.2012
Have you added "#include <zcmd>" at the top of your gamemode/filterscript? if not, do so!
EDIT: I have just tested what's wrong when zcmd is not included and it's as same problem as this. Include it...
Re: Help with ZCMD -
PaulDinam - 30.06.2012
Ohh i forgot. thanks
question:
i made a register login system how i disable that SPAWN selection button
Re: Help with ZCMD -
WagnerPM - 30.06.2012
Add this in your login system.