08.01.2015, 18:25
Hey,
Is it somehow possible to use zcmd and strtok? Like..
this
under OnPlayerCommandText
and
under nothing? Cuz now all the strcmp commands doesn't work. It's all in one gamemode.
Is it somehow possible to use zcmd and strtok? Like..
this
pawn Код:
if(strcmp(cmdtext, "/white", true) == 0)
{
SetPlayerColor(playerid, COLOR_WHITE);
return 1;
}
and
pawn Код:
CMD:commands(playerid, params[])
{
SendClientMessage(playerid, lightgreen, "----------------------------------");
SendClientMessage(playerid, lightgreen, "* {B4B5B7}/admins /vips /report /stats /cmds /help");
SendClientMessage(playerid, lightgreen, "----------------------------------");
return 1;
}