Quote:
Originally Posted by Dokins
You have to create a string like so:
pawn Код:
new string[128]; // String size is 128 as I dont know how big it will be. format(string, sizeof(string), "Government: Dear Citizens of Los Santos Police officer %s is now ON duty.", GetName(playerid));
SendClientMessageToAll(COLOURHERE, string); return 1;
|
This is a bad example. You can't assume those using this code would have 'GetName' implemented.