Stop player exiting a Vehicle
#1

Hey,

is it possible to stop a player from exiting a vehicle ? I tried to freeze the player a short time, but this doesnt work.

any suggestions ?
Reply
#2

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    if(SeatBelt[playerid])
    {
        GetPlayerPos(playerid, pX, pY, pZ);
        new seat = GetPlayerVehicleSeat(playerid);
        SetPlayerPos(playerid, pX, pY, pZ);
        PutPlayerInVehicle(playerid, vehicleid, seat);
        return 0;
    }
    return 1;
}
i use this way for seat belt
Reply
#3

works really well, thx man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)