Issue with speedo not hiding OnPlayerExitVehicle.
#7

Try this:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if (newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
    {
        // Your code
    } else {
        // Your code that hides the texdraw
    }
    return 1;
}
I use that on my script and runs very well
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)