Posts: 517
Threads: 112
Joined: Oct 2013
Quote:
Originally Posted by Jefff
pawn Код:
CheckTAG(playerid) { new Nick[MAX_PLAYER_NAME + 1],string[55]; GetPlayerName(playerid,Nick,sizeof(Nick)); if(!strcmp(Nick,"[GC]",true,4)) { string = "{FF0000}[G{FFFF00}C]{33CCFF}"; strcat(string, Nick[4]); return string; } strcat(string,Name); return string; }
and
pawn Код:
format(string,sizeof(string),"%s@: %s",CheckTAG(playerid),text[1]);
|
+repped Thanks