IsPlayerScore?
#1

Hi I thought of a plan to Make a system like..

If a player has over 50 score he gets to have: A free NRG, u feel were im going? But i dont know how to make a script that check whats a player score? Please help me
Reply
#2

GetPlayerScore(playerid);
Reply
#3

How do you plan on increasing a player's score?
Reply
#4

pawn Код:
if(GetPlayerScore(playerid) > 50)
{
      // Something
}
Reply
#5

it should be like

pawn Код:
if(GetPlayerScore(playerid) >= 50)
{
//Spawn NRG Code here
}
Reply
#6

Thank you Mr.Anonymous I +REP You and [HRD]Mar1
Reply
#7

You can Increase your score with this:

pawn Код:
public Score()  
{  
for(new i = 0;i != MAX_PLAYERS;++i)  
{  
    SetPlayerScore(i, GetPlayerScore(i)+1);  
}  
return 1;  
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)