Help with ZCMD
#1

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 ================
Reply
#2

Put #include <zcmd>
Reply
#3

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...
Reply
#4

Ohh i forgot. thanks
question:
i made a register login system how i disable that SPAWN selection button
Reply
#5

Add this in your login system.
pawn Код:
SpawnPlayer(playerid);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)