Alternative Way..
#1

PHP код:
LessonCar[playerid] = CreateVehicle(4101273.175292, -1557.86071713.560564270.06161900);
    
VehicleInfo[LessonCar[playerid]][EVFuel] = 100;
    
SetPlayerPos(playerid1273.175292, -1557.86071713.560564);
    
SetPlayerInterior(playerid0);
    
SetPlayerVirtualWorld(playerid0); 
Any alternative way to put player in car.. except setting his pos..? cause sometimes it bugs and put player outside the car..
Reply
#2

Look here: https://sampwiki.blast.hk/wiki/PutPlayerInVehicle
Reply
#3

Quote:
Originally Posted by Kraeror
Посмотреть сообщение
in this case.. what the vehicle ID will be.. since it will just create a random vehicle ID..
Reply
#4

Код:
PutPlayerInVehicle(playerid, LessonCar[playerid], 0);
Reply
#5

Quote:
Originally Posted by whadez
Посмотреть сообщение
Код:
PutPlayerInVehicle(playerid, LessonCar[playerid], 0);
+REP thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)