23.01.2011, 09:28
This one ?
And should also this ?
But there is OnPlayerUpdate it show the text if player Speedox=1 & incar !!
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(Speedox[playerid] == 1){TextDrawShowForPlayer (playerid, Text:SPEEDOX);}
else{TextDrawHideForPlayer(playerid, Text:SPEEDOX);}
return 1;
}
And should also this ?
pawn Код:
public OnPlayerExitVehicle(playerid,vehicleid)
{
if(Speedox[playerid] == 1)
{
TextDrawHideForPlayer(playerid, Text:SPEEDOX);
}
else {}
return 1;
}