Keep player in vehicle
#2

pawn Код:
new LastCar[MAX_PLAYERS];
public OnPlayerEnterVehicle(playerid, vehicleid)
{
    LastCar[playerid] = vehicleid;
    return 1;
}
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == 0 && oldstate == 2)
{
    PutPlayerInVehicle(playerid, vehicleid, 0);
}
}
Reply


Messages In This Thread
Keep player in vehicle - by Vollzeitfan - 10.09.2009, 12:52
Re: Keep player in vehicle - by Calgon - 10.09.2009, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)