Quote:
Originally Posted by leonardo1434
here goes.
pawn Код:
stock SendMessage(playerid,color[],string[]) { if(strcmp(color,#yellow)) return SendClientMessage(playerid, COLOR_YELLOW, string); else if(strcmp(color,#red)) return SendClientMessage(playerid, COLOR_RED, string); else if(strcmp(color,#blue)) return SendClientMessage(playerid, COLOR_BLUE, string); return 0; }
//usage SendMessage(playerid,#yellow,#Fuck Yeah);
|
'#' is the only way? Okay, thank you for help!