PDA

View Full Version : Trying to make won system by score.


CheckItOut
04/07/2017, 02:56 AM
Close the thread

saffierr
04/07/2017, 03:59 AM
And now in English please? What are you trying to say?

CheckItOut
04/07/2017, 04:16 AM
And now in English please? What are you trying to say?

I try to make system when team got 100 score the server do restart and say the team won.

the code ok for this or not please? you can help me make this?

Ballu Miaa
04/07/2017, 04:57 AM
if((GetPlayerScore(playerid) >= 0) && (GetPlayerScore(playerid) <= 100))


You're getting the Player's Score here and you need a different global variable for Team's score.

Increment it when you want, check if its 100 or not > Then GMX. You must start leaning the concept to code yourself.

CheckItOut
04/07/2017, 08:13 AM
if((GetPlayerScore(playerid) >= 0) && (GetPlayerScore(playerid) <= 100))


You're getting the Player's Score here and you need a different global variable for Team's score.

Increment it when you want, check if its 100 or not > Then GMX. You must start leaning the concept to code yourself.

I don't know what to do with this code... Need your help brother

Kaperstone
04/07/2017, 08:18 AM
Then don't code.

You need to understand what you code, not just take what other people do for you.
We're not code machines for anyone, people are willingly helping you to understand the code, not generate it for you.