03.05.2011, 20:07
(
Последний раз редактировалось Laronic; 03.05.2011 в 20:42.
)
it will fail, because you have to type COMMAND in caps
anyway try this one (not tested)
anyway try this one (not tested)
pawn Код:
COMMAND:b(playerid, params[])
{
if(Player[playerid][PrisonID] == 1) return SendClientMessage(playerid, WHITE, "You may not use this channel right now.");
else if(strlen(params) > 0)
{
new string[128];
format(string, sizeof(string), "%s says: ((%s))", GetName(playerid), params);
NearByMessage(playerid, WHITE, string);
}
else SendClientMessage(playerid, 0xFF0000FF, "SYNTAX: /b [message]");
return 1;
}