SA-MP Forums Archive
[HELP]Giving +10 score points with.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Giving +10 score points with.. (/showthread.php?tid=162107)



[HELP]Giving +10 score points with.. - LasTRace - 22.07.2010

PlayerInfo[killerid][Kills]++; >> it gives +1, what should i do to set it as +10?


Re: [HELP]Giving +10 score points with.. - ettans - 22.07.2010

Use
pawn Код:
PlayerInfo[killerid][Kills] += 10;



Re: [HELP]Giving +10 score points with.. - TouR - 22.07.2010

Код:
PlayerInfo[killerid][Kills] += 10;



Re: [HELP]Giving +10 score points with.. - LasTRace - 22.07.2010

thanks so much.


Re: [HELP]Giving +10 score points with.. - Dudits - 22.07.2010

Wouldn't this work?
pawn Код:
PlayerInfo[killerid][Kills] = PlayerInfo[killerid][Kills]+1;



Re: [HELP]Giving +10 score points with.. - TouR - 22.07.2010

Quote:

Wouldn't this work?

Of course its the same