SA-MP Forums Archive
can any one help me i need /robammu, /css and rss - 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)
+--- Thread: can any one help me i need /robammu, /css and rss (/showthread.php?tid=372363)



can any one help me i need /robammu, /css and rss - EvilMan - 26.08.2012

can anyone make script of robbing ammunition,Road Spikes for me? i need it for my server

/robammu = Rob Ammunition
/css = Create Road Spikes
/rss = Remove Road Spikes


Can anyone help me with this?


Re: can any one help me i need /robammu, /css and rss - EvilMan - 26.08.2012

anyone


Re: can any one help me i need /robammu, /css and rss - AliveBG - 26.08.2012

This is Spike strips system by FreshKilla.
Rob Ammunation is made easy.


Re: can any one help me i need /robammu, /css and rss - EvilMan - 26.08.2012

Rob Ammunation is made easy. lol i am new i dont know how to create i am learning it but i tried to make robammunation but i cant i worked on it from 10 days please help me create 1 for me?


Re: can any one help me i need /robammu, /css and rss - Kep - 26.08.2012

you can find rob ammo in ransees cops and robbers.


Re: can any one help me i need /robammu, /css and rss - EvilMan - 26.08.2012

cant anyone give me that?


Re: can any one help me i need /robammu, /css and rss - AliveBG - 27.08.2012

you must have 2 commands.
1. To enter
2. To exit
You must use SetPlayerPos(playerid, X, Y, Z);


Re: can any one help me i need /robammu, /css and rss - Lordzy - 27.08.2012

Classic script.
pawn Код:
CMD:teleammu(playerid,params[])
{
   SetPlayerPos(playerid,286.148987,-40.644398,1001.569946);
   SetPlayerInterior(playerid,1);
   SendClientMessage(playerid, 0xFF0000, "You've teleported to Ammunation.Use /robammu to attempt a robbery");
   return 1;
}

CMD:robammu(playerid,params[])
{
   if(GetPlayerWantedLevel(playerid)>1)
   return SendClientMessage(playerid, 0xFF0000, "You need to have 0 wanted level to use this command.");
   if(IsPlayerInRangeOfPoint(playerid,286.148987,-40.644398,1001.569946))
   return SendClientMessage(playerid, 0xFF0000, "You need to be at ammunation robbery point to use this command");
   GivePlayerMoney(playerid,10000);
   SetPlayerWantedLevel(playerid(GetPlayerWantedLevel(playerid)+1))//If there's error/warning in this line,PM me.
   new string[256];
   format(string, sizeof, (string)), "%s has robbed Ammunation",GetPlayerName);
   SendClientMessageToAll(0xFF0000,string);
   return 1;
   }
   return 0;
}



Re: can any one help me i need /robammu, /css and rss - EvilMan - 02.09.2012

i need guns when we robammu not money


Re: can any one help me i need /robammu, /css and rss - NoahF - 26.09.2012

Then change the GivePlayerMoney to GivePlayerWeapon.