13.03.2009, 15:09
You gonna have a lot of problems with this lol, Change
to
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if (antiv == 0)
{
RemovePlayerFromVehicle(playerid);
}
return 1;
}
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate = PLAYER_STATE_DRIVER || PLAYER_STATE_PASSENGER)
{
if (antiv == 0)
{
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}