15.04.2014, 16:22
(
Последний раз редактировалось GHLEMES; 17.04.2014 в 03:47.
Причина: ......
)
'''''
new Textdraw2[MAX_PLAYERS];
Em OnGameModeInit
for(new i=0; i<GetMaxPlayers(); i++)
{
Textdraw2[i] = TextDrawCreate(480.000000, 107.000000, "GHLEMES");
TextDrawBackgroundColor(Textdraw2[i], 255);
TextDrawFont(Textdraw2[i], 1);
TextDrawLetterSize(Textdraw2[i], 1.020000, 2.000000);
TextDrawColor(Textdraw2[i], -16776961);
TextDrawSetOutline(Textdraw2[i], 0);
TextDrawSetProportional(Textdraw2[i], 1);
TextDrawSetShadow(Textdraw2[i], 1);
}
OnPlayerConnect
new Pname[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(playerid, Pname, sizeof(Pname));
format(string, sizeof(string), "%s", Pname);
TextDrawSetString(Textdraw2[playerid], string);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
PHP код:
PHP код:
PHP код:
PHP код:
PHP код:
|
PlayerTextDrawHide(playerid, PlayerText:Textdraw1[playerid]);