Vehicle Spawner Script
#3

pawn Код:
CMD:vehicle(playerid,params[])
{
    new veh = GetPlayerVehicleID(playerid);
    new Float:x, Float:y, Float:z, Float:a;
    if(sscanf(params,"i",veh)) return SCM(playerid,COLOR_RED,"[USAGE] /Vehicle [Vehicle ID]");
    if(veh < 400 || veh > 611) return SCM(playerid,COLOR_RED,"[ERROR] Invalid Vehicle ID");
    GetPlayerPos(playerid,x,y,z);
    GetPlayerFacingAngle(playerid,a);
    new veh1 = CreateVehicle(veh,x+2,y,z,a,-1,-1,-1);
    return 1;
}
Reply


Messages In This Thread
Vehicle Spawner Script - by Michael_Cruise - 17.06.2012, 05:44
Re: Vehicle Spawner Script - by OxyG3N - 17.06.2012, 07:03
Re: Vehicle Spawner Script - by newbienoob - 17.06.2012, 07:07

Forum Jump:


Users browsing this thread: 1 Guest(s)