03.04.2013, 11:25
You can create a checking inside the public OnPlayerEnterVehicle, or otherwise OnPlayerStateChange.
Example:
That's for OnPlayerEnterVehicle, and you have to add you own checking for if the player is a regular player or not.
Example:
pawn Код:
if(GetVehicleModel(vehicleid) == SomeID)
{
new Float:x,Float:y,Float:z;
SetPlayerPos(playerid,x,y,z);
SendClientMessage(playerid,-1,"You cannot enter this vehicle!");
return 1;
}