Not Give Score...
#1

Hi In My Rob System Not Give Score To Players After Robbery...How To Fix it This Is Part Of My Rob System Code
Код:
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);
Reply
#2

Quote:

new playerid;
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);

=>
SetPlayerScore(i, GetPlayerScore(i) + 1);
Reply
#3

Quote:
Originally Posted by Sergei
Посмотреть сообщение
=>
SetPlayerScore(i, GetPlayerScore(i) + 1);
Tnx Its Worked + Rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)