if(RobbingCityHall[i] == 1)
{
new mrand =random(200000);
RobbingCityHall[i] =0;
format(string,sizeof(string),"City Hall robbed Complete.\nYou robbed a total of $%d from the City Hall.\nWatch out for police!",mrand);
ShowPlayerDialog(i,DIALOG_CITYHALL,DIALOG_STYLE_MSGBOX,"{FF0000}City Hall Dozdi Shod",string,"Ok","Cancel");
SendClientMessage(i,COLOR_RED,string);
GivePlayerCash(i,mrand);
new playerid;
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
|
new playerid; SetPlayerScore(playerid, GetPlayerScore(playerid) + 1); |