25.08.2010, 11:49
I am making this rank up system which is kinda annoying
instead of making them go up to level 100
is there a way that i can go like
every 500 points the player gets he goes up a level instead of ading every single one
Code:
if(GetPlayerPoints(playerid) == 500) { SendClientMessage(playerid,ORANGE,"You have been PROMOTED! You are now Rank 2"); PlayerInfo[playerid][PLevel] = 2; return 1; } if(GetPlayerPoints(playerid) == 1000) { SendClientMessage(playerid,ORANGE,"You have been PROMOTED! You are now Rank 3"); PlayerInfo[playerid][PLevel] = 3; return 1; } if(GetPlayerPoints(playerid) == 1500) { SendClientMessage(playerid,ORANGE,"You have been PROMOTED! You are now Rank 4"); PlayerInfo[playerid][PLevel] = 4; return 1; }
is there a way that i can go like
every 500 points the player gets he goes up a level instead of ading every single one