SA-MP Forums Archive
Hydraulics! - 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: Hydraulics! (/showthread.php?tid=267346)



Hydraulics! - IvancheBG - 08.07.2011

How To Make A Command When Someone Type /hyd His Car Will Have Hydraulics But To Cost 3000$.How To Do That


Re: Hydraulics! - Laronic - 08.07.2011

pawn Код:
COMMAND:hyd(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFAA, "You have bought 'hydraulics' to your vehicle ($3000)");
    AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
    GivePlayerMoney(playerid, -3000);
    return 1;
}



Re: Hydraulics! - IvancheBG - 08.07.2011

thanks but i have a problem when i type /hyd my hydraulics gets on but i want after 2 minutes to type again


Re: Hydraulics! - IvancheBG - 08.07.2011

Can Someone Help Me