Henriquearauj
Unregistered
Quote:
Originally Posted by Syxh0wN
pawn Code:
SendClientMessageEx(playerid, color, const text[]) { #define LENGHT (36)
if(strlen(text) > LENGHT) { new firstString[LENGHT], secondString[LENGHT];
strmid(firstString, text, 0, LENGHT); strmid(secondString, text, LENGHT - 1, LENGHT * 2);
format(firstString, LENGHT, "%s", firstString); format(secondString, LENGHT, "..%s", secondString);
SendClientMessage(playerid, color, firstString); SendClientMessage(playerid, color, secondString); } else SendClientMessage(playerid, color, text); #undef LENGHT
return 1; }
|
Muito obrigado, me ajudou muito.
Rep +