20.09.2013, 13:38
This is a simple include that helps with player and vehicle teleportation.
It will prevent(hopefully) player from falling out of interiors by freezing them for a short period of time.
EXAMPLE
the same goes for MoveVeh
NOTE
If a player is in vehicle when you use MoveVeh it will teleport him with the veh.
if someone has already made something like this please have my deepest apologies for posting 'the same' inc.
download v1.0.
It will prevent(hopefully) player from falling out of interiors by freezing them for a short period of time.
Код:
MoveVeh(vehicleid ,Float:x ,Float:y ,Float:z ,Float:rot ,interior=0 ,virtualWorld=0 ) MovePlayer(playerid ,Float:x ,Float:y ,Float:z ,Float:rot ,interior=0 ,virtualWorld=0 )
Код:
MovePlayer(playerid ,2488.57 ,-1670.83 ,13.04 ,90); // it will teleport player to some location with interior 0 and virtual world 0 MovePlayer(playerid ,235.3 ,1187.55 ,1080.25 ,90 ,3 ,1); // it will teleport player to some location with interior 3 and virtual world 1
NOTE
If a player is in vehicle when you use MoveVeh it will teleport him with the veh.
if someone has already made something like this please have my deepest apologies for posting 'the same' inc.
download v1.0.