28.12.2013, 16:16
This is just a simple textdraw that show when a player is ig but if i put it under ongamemodeinit there is no 'playerid' definition there so it will come errors and i've also tried doing this
on ongamemodeinit but it dosent show and then i've also tried putting it under onplayerconnect but if 2 players is connected it will show the textdraw above eachother so its unreadable any idea of what i can do?
pawn Код:
for(new i = 0; i < MAX_PLAYERS; ++i)
pawn Код:
format(string, sizeof(string), "User Account: %s", GetPlayerNameEx(playerid));
useracc = TextDrawCreate(450.000000, 428.000000, string);
TextDrawAlignment(useracc , 3);
TextDrawBackgroundColor(useracc , 255);
TextDrawFont(useracc , 1);
TextDrawLetterSize(useracc , 0.529999, 1.400000);
TextDrawColor(useracc , -1);
TextDrawSetOutline(useracc , 1);
TextDrawSetProportional(useracc , 1);