[Tutorial] Getting a bonus for filling the kills table
#16

Lol, you're using a public variable instead of player variable.

You shall use:

pawn Код:
new TopKiller;
new TopKills[MAX_PLAYERS] = 0;
And TopKills is going to be like TopKills[playerid]. At least, if I'm not wrong, it counts the kills that each player makes? If yes, than that's how it shall look. Else, each time someone would kill, it would raise up, and even if they would have different ID's, the last guy who would make kill, he would get the whole cash.

Can't call this a tutorial. You can't make a tutorial in order to learn from it. If you want to learn, you better make filterscripts and basic systems, not tutorials.

EDIT: Nevermind all this post, sorry for bump, didn't see date.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)