SA-MP Forums Archive
Pimp It! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pimp It! (/showthread.php?tid=256444)



Pimp It! - Sid_Alexander - 20.05.2011

im looking for a command which will allow you to mod Your Car, The Command should be in /pimpit and /pimpit2 for sports cars, Can Anyone Help me create A command like This?


Re: Pimp It! - ColdIce - 20.05.2011

Why dont u just download tune menu?


Re: Pimp It! - Sid_Alexander - 20.05.2011

Quote:
Originally Posted by ColdIce
Посмотреть сообщение
Why dont u just download tune menu?
It Takes time to pimp car then, im just trying to make it easier, Just /pimpit and car complete with alien Components and /pimpit2 with all xflow Car Components, You Help?


Re: Pimp It! - Laronic - 20.05.2011

i don't know if it works

but it should
pawn Код:
COMMAND:tune(playerid, params[])
{
    if(!IsPlayerInAnyVehicle(playerid)) return SedClientMessage(playerid, 0xFFFFFFAA, "You must be in a vehicle to use this command");
    {
        if(GetPlayerVehicleModel(playerid) !411)) return SedClientMessage(playerid, 0xFFFFFFAA, "You must have a elegy to use this command");
        {
            new vehicleid = GetPlayerVehicleID(playerid);
   
            AddVehicleComponent(vehicleid, 1034); //Alien Exhaust
            AddVehicleComponent(vehicleid, 1035); //X-Flow Roof Vent
            return 1;
        }
    }
    return 1;
}
And also read:

AddVehicleComponent
Car Component ID