13.04.2011, 07:02
Hey i was making something for in the car but if i do /getcar and i click on i get spawned into the car and the textdraw doesnt show.... But i though if i added this code it would be gone:
at OnGamemodeInit i got this timer:
pawn Код:
forward Fly(playerid);
public Fly(playerid)
{
if(IsPlayerInAnyVehicle(playerid))
{
TextDrawShowForPlayer(playerid, MyTextDraw[playerid]);
}
else
{
TextDrawHideForPlayer(playerid, MyTextDraw[playerid]);
}
}
pawn Код:
SetTimer("Fly", 1000, true);