29.05.2017, 01:44
Coloque na public OnGameModeInit
Caso queria quer apareca o Textdraw quando o Jogador logar
coloque em OnPlayerConnect
Se for para aparecer quando ele spawnar
coloque em OnPlayerSpawn
PHP код:
Textdraw[0] = TextDrawCreate(548.399597, 398.319946, "RIO_LIFE");
TextDrawLetterSize(Textdraw[0], 0.548799, 2.204800);
TextDrawAlignment(Textdraw[0], 1);
TextDrawColor(Textdraw[0], -1);
TextDrawSetShadow(Textdraw[0], 0);
TextDrawSetOutline(Textdraw[0], 0);
TextDrawBackgroundColor(Textdraw[0], 255);
TextDrawFont(Textdraw[0], 1);
TextDrawSetProportional(Textdraw[0], 1);
TextDrawSetShadow(Textdraw[0], 0);
coloque em OnPlayerConnect
PHP код:
TextDrawShowForPlayer(playerid, Textdraw[0]);
coloque em OnPlayerSpawn
PHP код:
TextDrawShowForPlayer(playerid, Textdraw[0]);