12.05.2009, 01:45
yooo
Sorry my bad English
Canґt see textdraw on player request class.
When i go for first time can see all textdraws, but if i go for second time canґt see anyone.
public OnGameModeInit()
public OnPlayerSpawn(playerid)
public OnPlayerConnect(playerid)
Sorry my bad English
Canґt see textdraw on player request class.
When i go for first time can see all textdraws, but if i go for second time canґt see anyone.
Код:
new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; new Text:Textdraw4;
Код:
Textdraw0 = TextDrawCreate(637.000000,24.000000,"Sakura Racing Server 0.2X"); Textdraw1 = TextDrawCreate(637.000000,64.000000,"Adrenaline"); Textdraw2 = TextDrawCreate(637.000000,98.000000,"[Argentina/LatinoAmerica]"); Textdraw3 = TextDrawCreate(637.000000,415.000000,"/help"); Textdraw4 = TextDrawCreate(53.000000,429.000000,"/help - /command"); TextDrawAlignment(Textdraw4,2); TextDrawBackgroundColor(Textdraw4,0x00ff0000); TextDrawFont(Textdraw4,1); TextDrawLetterSize(Textdraw4,0.299999,1.200000); TextDrawColor(Textdraw4,0xffffff99); TextDrawSetProportional(Textdraw4,1); TextDrawSetShadow(Textdraw4,1);
Код:
TextDrawDestroy(Textdraw0); TextDrawDestroy(Textdraw1); TextDrawDestroy(Textdraw2); TextDrawDestroy(Textdraw3);
Код:
TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4);