Trying to make won system by score.
#1

Close the thread
Reply
#2

And now in English please? What are you trying to say?
Reply
#3

Quote:
Originally Posted by saffierr
Посмотреть сообщение
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?
Reply
#4

pawn Код:
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.
Reply
#5

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
pawn Код:
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
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)