18.02.2011, 13:04
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:
OnGameModeInit:
commands are working fine
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
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