27.04.2014, 05:31
I want to convert this system to ZCMD is it possible
pawn Код:
#define Password "/password"
public OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256];
new idx;
cmd = strtok(cmdtext, idx);
if( strcmp(cmd, Password, true)==0 )
{
if(IsPlayerAdmin(playerid) == 1)
{
code here
}
return 1;
}