Hi, I'm testing with a command so every time I type !xptest I get +1 XP.
This does not work with the LR_ChangeClientValue, what would be the right way?
PHP Code:
#pragma semicolon 1
#define DEBUG
#include <sourcemod>
#include <lvl_ranks>
#pragma newdecls required
public void OnPluginStart()
{
RegConsoleCmd("sm_xptest", Command_Test);
}
public Action Command_Test(int client, int args)
{
LR_ChangeClientValue(client, 1);
}