I need /robbank cmd please.
#4

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
Reply


Messages In This Thread
I need /robbank cmd please. - by Rohan_Ubhare - 26.08.2012, 11:00
Re: I need /robbank cmd please. - by Youice - 26.08.2012, 11:04
Re: I need /robbank cmd please. - by [jS]Thomas - 26.08.2012, 11:04
Re: I need /robbank cmd please. - by Lordzy - 26.08.2012, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)