26.08.2012, 11:00
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.
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;
}