[Need] Nitro Command - 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: [Need] Nitro Command (
/showthread.php?tid=157734)
[Need] Nitro Command -
salut693123 - 07.07.2010
Hello there, I need a Nitro Command Ex: /nos
Does one Know how to make one? if you know how to Then reply and Say the Code thanks you .
O.O O.O
Thanks
Re: [Need] Nitro Command -
Hiddos - 07.07.2010
pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,"/nos",true))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xff0000ff,"You must be in a vehicle!");
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
SendClientMessage(playerid,0x00ff00ff,"Nitro added!"); //No idea what colour that is though.
return 1;
}
return 0;
}
Re: [Need] Nitro Command -
salut693123 - 07.07.2010
Thanks you.
Re: [Need] Nitro Command -
salut693123 - 07.07.2010
Dont worry about the color i change it
Re: [Need] Nitro Command -
Rachael - 07.07.2010
http://pastebin.com/bg7rF7qQ