SetRank problem
Locked
FLHook Plugin Version
-
Hello,
I have a problem with the “SetRank”, this works :
int iSetRank=0; void UserCmd_SetRank(uint iClientID, const wstring &wscParam) { iSetRank ++; pub::Player::SetRank(iClientID, iSetRank); pub::Reputation::SetRank(iClientID, ToFloat(IntToStr(iSetRank))); }
But “Reputation:: SetRank” not working anymore after leaving the game.
The solution restart the server…What is the problem?