10.11.2009, 20:26
How dose this work?
This INC works by toggling the players controllable for 2 seconds then releasing it ensuring that the map has enough time to load, So no more dropping though the map when a player teleports somewhere.
How do i use this?
Copy the "ChrisMapFix.inc" into your Pawno/Includes folder.
At the top of your Gamemode/Filterscript put:
When you code a teleport you use:
Instead of:
This INC is fully tested by me, This is my first release so be kind, And ideas welcome!.
Download: ChrisMapFix.inc
This INC works by toggling the players controllable for 2 seconds then releasing it ensuring that the map has enough time to load, So no more dropping though the map when a player teleports somewhere.
How do i use this?
Copy the "ChrisMapFix.inc" into your Pawno/Includes folder.
At the top of your Gamemode/Filterscript put:
Code:
#include <ChrisMapFix>
Code:
SetPlayerTimedPos(playerid, X, Y, Z);
Code:
SetPlayerPos(playerid, X, Y, Z);
Download: ChrisMapFix.inc