Removeplayerfromvehicle
#1

When a player enters a vehicle i want it to not allow him and just cancel the action.
Removeplayerfromvehicle doesnt do it.
Reply
#2

Type this:
pawn Код:
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z+5);
SendClientMessage(playerid, -1, "{F81414}Error:{FFFFFF}You can't enter any vehicles.");//If you want change this text
Under:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
Reply
#3

or simply do ClearAnimations(playerid); OnPlayerEnterVehicle.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)