SA-MP Forums Archive
I need /robbank cmd please. - 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: I need /robbank cmd please. (/showthread.php?tid=372374)



I need /robbank cmd please. - Rohan_Ubhare - 26.08.2012

Can Some one please give me /robbank cmd in zcmd please? I want it for my RP server. Btw the cops should know tht the bank is being robbed. The player should be above 7.


Re: I need /robbank cmd please. - Youice - 26.08.2012

try this (: and there re-phrase the post giving info and basics.

or try this "here"


Re: I need /robbank cmd please. - [jS]Thomas - 26.08.2012

https://sampforum.blast.hk/showthread.php?tid=187229&page=268


Re: I need /robbank cmd please. - Lordzy - 26.08.2012

Here's a simple robbank system.

pawn Код:
CMD:robbank(playerid,params[])
{
 #pragma unused params
   if(IsPlayerInRangeOfPoint(playerid, x, y, z); //Replace X Y Z with your bank rob point(coordinate)
   return SendClientMessage(playerid, 0xFF0000, "You need to be at Bank to rob");
   GivePlayerMoney(playerid,50000);
   SendClientMessage(playerid, 0xFF0000, "You've successfully robbed bank");
   format(string, sizeof(string), "%s has robbed bank",GetPlayerName);
   SendClientMessageToAll(0xFF0000,string);
   return 0;
}
Im sorry if mistakes are there because I did this through mobile..

Edit:Oh many links b4 posting. O.o