10.03.2012, 12:37
Dude i Tested it after it it's ain't gived me any error but it's not working Huh idk why i did everything your told but it's ain't ejecting me from vehicle
Code
Code
Quote:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new vehicle = GetPlayerVehicleID(playerid); if(vehicle == AdminVehicle && !IsPlayerAdmin(playerid)) { RemovePlayerFromVehicle(playerid); if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0, "."); SendClientMessage(playerid, 0xFFFFFFAA, "This is an admin vehicle, you can't drive it."); } return 1; } |