19.03.2008, 17:41
I made a new version:
I added:
PromotionMode '0'
With this mode, players can only promote manually with SetPlayerRank(playerid, rankID);
SetPlayerRank(playerid, rankID);
With this function you can promote a player manually
Note: Only use SetPlayerRank when PromotionMode is set to '0'!!!!
You can add this in your Gamemode:
@ OnGameModeInit():
And somewhere else in your script (for example at the bottom of the script):
I added:
PromotionMode '0'
With this mode, players can only promote manually with SetPlayerRank(playerid, rankID);
SetPlayerRank(playerid, rankID);
With this function you can promote a player manually
Note: Only use SetPlayerRank when PromotionMode is set to '0'!!!!
Quote:
Originally Posted by Binebik
Sry for so many questions, but heres an other
In my server i have that TAB, shows the players money as score, how can i do that so it shows player rank/lvl? |
@ OnGameModeInit():
Код:
SetTimer("UpdateScores", 10000, 1);
Код:
forward UpdateScores(); public UpdateScores() { for(new i; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { SetPlayerScore(i, GetPlayerRank(i)); } } }