how to put all players in vehicle to interior
#1

Hi,

In one teleport i set playerinterior and virtualworld, but if there will be passengers, or player surfing on vehicle, player that will be too teleported, so how i need to set them interior, and virtualworld too?
Reply
#2

Use this function for vehicle driver
PHP код:
SetPlayerAbsolutePositionVeh(playerid,Float:x,Float:y,Float:z,Float:angle,worldid = -1,interiorid = -1,compensatedtime = -1); 
3DTryg:
https://sampforum.blast.hk/showthread.php?tid=591010
Reply
#3

But too need to check GetPlayerSurfingVehicle?
Reply
#4

Quote:
Originally Posted by MerryDeer
Посмотреть сообщение
But too need to check GetPlayerSurfingVehicle?
This function automatically moves players into the vehicle.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)