20.01.2013, 12:34
hey guyz i have score level system and its showing player money in score.but i wanna change score into player kills or other scores not money.how i can change it please help me
Код:
public OnPlayerUpdate(playerid) { new string[ 128 ]; new score; score = GetPlayerScore(playerid); format(string, sizeof string, "SCORE:~r~%d", score ); TextDrawSetString(Textdraw0, string); if(GetPlayerScore(playerid) >= 30000) rank[ playerid ] = 35; else if(GetPlayerScore(playerid) >= 25000) rank[ playerid ] = 34; else if(GetPlayerScore(playerid) >= 20000) rank[ playerid ] = 33; else if(GetPlayerScore(playerid) >= 15000) rank[ playerid ] = 32; else if(GetPlayerScore(playerid) >= 10000) rank[ playerid ] = 31; else if(GetPlayerScore(playerid) >= 9500) rank[ playerid ] = 30;