create vehicle.
#3

[i]You used GetPlayerPos to spawn a vehicle at your current location.[/b]

Example
pawn Код:
new Float:PosX, Float:PosY, Float:PosZ, Float:pAngle;
GetPlayerPos(playerid, PosX,PosY,PosZ);
GetPlayerFacingAngle(playerid, pAngle);
AddStaticVehicle(VehicleID, PosX, PosY, PosZ, pAngle, Color Number 1, Color Number 2);
But if you just want to check the vehicle's Position X, Position Y, Position Z you could just simply use the sa-mp default command /dl
Reply


Messages In This Thread
create vehicle. - by audriuxxx - 05.10.2013, 11:25
Re: create vehicle. - by knackworst - 05.10.2013, 11:26
Re: create vehicle. - by Patrick - 05.10.2013, 11:26
AW: create vehicle. - by audriuxxx - 05.10.2013, 11:36
Re: create vehicle. - by Patrick - 05.10.2013, 11:38
AW: create vehicle. - by audriuxxx - 05.10.2013, 11:45
Re: create vehicle. - by Jankingston - 05.10.2013, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)