13.03.2015, 16:03
Quote:
When a player goes through a interior, He usually falls cause the Interior is not loaded totally. It takes time. I was wondering if there is a script or FS which can fix that issue?
PS: I have 2% knowledge on Pawn and Could really use some explaination. |
Код:
// CMD:enter or w/e yours is { TogglePlayerControllable(playerid,0); // freezes you SetTimerEx("AntiFall", 4000, false, "i", playerid); // timer that unfreezes you, code in it gets activated when timer ends, so after 4 seconds }
Код:
forward AntiFall public AntiFall { If(IsPlayerConnected(playerid)); { TogglePlayerControllable(playerid,1); return 1; } }