Stop player from entering vehicle
#8

Here, try this:
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
     if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == VEHICLE_ID)
          RemovePlayerFromVehicle(playerid);

     return 1;
}
And dont forget to replace VEHICLE_ID with yours!
Reply


Messages In This Thread
Stop player from entering vehicle - by SEnergy - 27.07.2012, 18:10
Re: Stop player from entering vehicle - by maramizo - 27.07.2012, 18:14
Re: Stop player from entering vehicle - by SEnergy - 27.07.2012, 18:21
Re: Stop player from entering vehicle - by [KHK]Khalid - 27.07.2012, 18:25
Re: Stop player from entering vehicle - by AmigaBlizzard - 27.07.2012, 18:25
Re: Stop player from entering vehicle - by SEnergy - 27.07.2012, 18:40
Re: Stop player from entering vehicle - by [KHK]Khalid - 27.07.2012, 19:05
Re: Stop player from entering vehicle - by Universal - 27.07.2012, 19:07
Re: Stop player from entering vehicle - by [KHK]Khalid - 27.07.2012, 19:17
Re: Stop player from entering vehicle - by Universal - 27.07.2012, 19:41

Forum Jump:


Users browsing this thread: 1 Guest(s)