Spawning a vehicle at current location
#5

Quote:
Originally Posted by $ЂЯĢ
Quote:
Originally Posted by ►Peter Corneile◄ [ideal-host.co.uk
]
pawn Код:
if(strcmp(cmd, "/spawnvehicle", true) == 0)
{
new Float:X,Float:Y,Float:Z,Float:A;
GetPlayerPos(playerid, X,Y,Z);
GetPlayerFacingAngle(playerid,A);
CreateVehicle(vehicleid,X+1,Y,Z,A,color1,color2,30000);
return 1;
}

Yeah and vehicleid is air ..
Huh , what do you mean ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)