need help about this
#1

how i can get inside a vehicle when i go to a interior by using any cmd
Reply
#2

pawn Код:
//DM command...
SetPlayerPos(playerid, YOUR_X, YOUR_Y, YOUR_Z);
SetPlayerInterior(playerid, YOUR_INTERIOR_ID);

/*If vehicle already created: */  
PutPlayerInVehicle(playerid, YOUR_VEHICLE_ID, 0);
/*If not ... : */
new vehid[MAX_PLAYERS];
vehid[playerid] = CreateVehicle(.....);
PutPlayerInVehicle(playerid, vehid[playerid], 0);

LinkVehicleToInterior(GetPlayerVehicleID(playerid), YOUR_INTERIOR_ID);
Reply
#3

omg man isnt working again.
i want to get inside the vehicle id 464 and when i join the dm the vehicle spawn but im not inside of it.
id 464 is the Zero plane .
Reply
#4

bump
Reply
#5

pawn Код:
new plane = CreateVehicle(...);
PutPlayerInVehicle(playerid, plane, 0);
Reply
#6

Aerotactics ty mate but there is another problem when i tp there i get inside the plane but i cant see the plane...
Edit: Fixed nvm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)