#1

hey
how to make score system?
when i play 1 min then add the score +1
how to do this?


sry for my bad english
Reply
#2

Here you might get it
*Click Here*
Reply
#3

try this
pawn Код:
if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
Reply
#4

Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Here you might get it
*Click Here*
He asked HOW do you make one, not Can you make one.
Quote:
Originally Posted by »ŁegenĐ«
try this
pawn Код:
if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
Read his post "when i play 1 min then add the score +1 "

================================================== ======================
================================================== ======================
================================================== ======================
================================================== ======================

Ok Since no body helped, I will be gladly to help you Eazy! ok now follow my steps and you will complete this Score System!

Put this on top of your script:

Код:
forward upscore();
Now put this on "OnGamemodeInit"

Код:
SetTimer("upscore",60000,true);
Now ALL the way at the bottom of your script, Put this

Код:
public upscore()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
          SetPlayerScore(i, GetPlayerScore(i) + 1);
        }
     }
}
}
Thats it, and thats how you make it Eazy
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)