05.11.2011, 02:47
Probб asн:
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
TextDrawShowForPlayer(playerid, Textdraw0);
Textdraw0 = TextDrawCreate(180.000000, 409.000000, "_");
TextDrawShowForPlayer(playerid, Textdraw0);
}
else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
{
TextDrawShowForPlayer(playerid, Textdraw0);
Textdraw0 = TextDrawCreate(180.000000, 439.000000, "_");
TextDrawShowForPlayer(playerid, Textdraw0);
}
return 1;
}