Spawning a vehicle at current location
#3

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;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)