23.10.2012, 16:27
PHP Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) {
if(GetVehicleModel(vehicleid) == 520) {
if(GetPlayerScore(playerid) < 20) {
RemovePlayerFromVehicle(vehicleid);
}
else return 0;
}
return 1;
}