08.02.2012, 16:17
pawn Код:
new Text:LOL[MAX_PLAYERS];
//OnGameModeInit
for(new i = 0; i < MAX_PLAYERS; i++)
{
LOL[i] = TextDrawCreate(......
}
//OnPlayerConnect
new LOL2[7], Nome[24];
GetPlayerName(playerid, Nome,sizeof(Nome));
format(LOL2,sizeof(LOL2),"%s",Nome);
TextDrawSetString(LOL[playerid],LOL2);
TextDrawShowForPlayer(playerid, LOL[playerid]);