need help about this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need help about this (
/showthread.php?tid=501884)
need help about this -
iThePunisher - 20.03.2014
how i can get inside a vehicle when i go to a interior by using any cmd
AW: need help about this -
Macronix - 20.03.2014
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);
Re: need help about this -
iThePunisher - 20.03.2014
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 .
Re: need help about this -
iThePunisher - 21.03.2014
bump
Re: need help about this -
Aerotactics - 21.03.2014
pawn Код:
new plane = CreateVehicle(...);
PutPlayerInVehicle(playerid, plane, 0);
Re: need help about this -
iThePunisher - 21.03.2014
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