23.12.2009, 12:15
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
if(( gTeam[playerid] == TEAM_CIVIL) && (GetPlayerVehicleID(playerid) == 59
)
{
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}
i have this... nor errors but it doesn't work
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
if(( gTeam[playerid] == TEAM_CIVIL) && (GetPlayerVehicleID(playerid) == 59

{
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}
i have this... nor errors but it doesn't work