03.05.2011, 19:20
Hello, as the title says, I want to change /b to ( only for example when you say (hi, it happears (( hi )) but whenever I try to make it, it gives me errors, could you help me out please?
heres the /b
heres the /b
Код:
command(b, 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; }