18.02.2011, 13:12
Quote:
ok take a look at this
i didnt modify the inc and i put it in pawno/include and made the "PlayerFiles" File in script files Script: includes: Код:
#include <a_samp> #include <a_players> #include <Ranks> #if defined FILTERSCRIPT Код:
public OnGameModeInit() { //Ranks/Levels SetPromotionMode(1); AddRank(1, "Level2", 1, 10000, 100, 100, 20, 30); return 1; } Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/level", true) == 0) { GetRankInfo(playerid); return 1; } if(strcmp(cmdtext, "/mystats", true) == 0) { GetPlayerStats(playerid); return 1; } return 0; } i set promotion mode to 1 and the requirements to 1 and out in script files i change the user time played in server to 0 hours 59 minutes so it should rank up in 1min but nothing happen why?? i typed /mystats rank :0 -- time:1h 3min nothing happened can u help me please |
The server runs a timer to check the online time each minute, it updates a variable, but not the account.
Change thing into your account, (While not in game) and reconnect. you will rankup.
You set minutes 59 in your account, but in-game the variable jsut got time to update up to 5-6 minutes.