Textdraw
#1

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:
pawn Код:
forward Fly(playerid);
public Fly(playerid)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        TextDrawShowForPlayer(playerid, MyTextDraw[playerid]);
    }
    else
    {
        TextDrawHideForPlayer(playerid, MyTextDraw[playerid]);
    }
}
at OnGamemodeInit i got this timer:
pawn Код:
SetTimer("Fly", 1000, true);
Reply


Messages In This Thread
Textdraw - by thimo - 13.04.2011, 07:02
Re: Textdraw - by Sascha - 13.04.2011, 09:49

Forum Jump:


Users browsing this thread: 1 Guest(s)