01.04.2010, 10:23
under OnPlayerStateChange :
Код:
new vehicleid = GetVehicleId(playerid); new modelid = GetVehicleModel(vehicleid); if(gTeam != Team_Cops) { if(modelid == cops car) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid,COLOR_RED,"You Have To Be A Cop To Get In This Car"); } }