Raised This Month: $ Target: $400
 0% 

[Levels Ranks] Core v3.1.6 with 39 Modules + LR Webpanel - [01.23.2021]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Rav1sh
Junior Member
Join Date: Apr 2020
Old 01-05-2021 , 15:44   Re: [Levels Ranks] Core v3.1.5 with 39 Modules + LR Webpanel - [01.16.2020]
Reply With Quote #10

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 clientint args)
{
    
LR_ChangeClientValue(client1);

Rav1sh is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode