03.05.2011, 19:35
Well whenever I try to do best I can like,
or
it fails
Код:
command( (, playerid, params[]) { new Message[128], string[128]; if(sscanf(params, "z", Message)) { SendClientMessage(playerid, WHITE, "SYNTAX: /b [message]"); } else { if(strlen(Message) < 1 || !IsPlayerConnectedEx(playerid)) { return 1; } else { if(Player[playerid][PrisonID] == 1) { SendClientMessage(playerid, WHITE, "You may not use this channel right now."); } else { format(string, sizeof(string), "%s says: ((%s)) ", GetName(playerid), Message); NearByMessage(playerid, WHITE, string); } } } return 1; }
Код:
command:(, (playerid, params[]) { new Message[128], string[128]; if(sscanf(params, "z", Message)) { SendClientMessage(playerid, WHITE, "SYNTAX: /b [message]"); } else { if(strlen(Message) < 1 || !IsPlayerConnectedEx(playerid)) { return 1; } else { if(Player[playerid][PrisonID] == 1) { SendClientMessage(playerid, WHITE, "You may not use this channel right now."); } else { format(string, sizeof(string), "%s says: ((%s)) ", GetName(playerid), Message); NearByMessage(playerid, WHITE, string); } } } return 1; }