Freeze entering
#2

This callback will help you.

https://sampwiki.blast.hk/wiki/OnPlayerInteriorChange

Also, when the callback is called you should freeze the player with

pawn Код:
TogglePlayerControllable(playerid, 0);
and put a timer to unfreeze

pawn Код:
TogglePlayerControllable(playerid, 1);
the player.

EDIT: Help for timers:

https://sampwiki.blast.hk/wiki/SetTimer
Reply


Messages In This Thread
Freeze entering - by Vlad_Dubonos - 15.03.2011, 12:53
Re: Freeze entering - by Serbish - 15.03.2011, 13:06
Re: Freeze entering - by Vlad_Dubonos - 15.03.2011, 13:16
Re: Freeze entering - by SkizzoTrick - 15.03.2011, 14:46

Forum Jump:


Users browsing this thread: 3 Guest(s)