Raised This Month: $ Target: $400
 0% 

Save Money (nvault)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 09-08-2023 , 19:32   Re: Save Money (vault)
Reply With Quote #1

@Jhob94 help him optimize his contribution
__________________
mlibre is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 09-10-2023 , 08:13   Re: Save Money (vault)
Reply With Quote #2

Quote:
Originally Posted by mlibre View Post
@Jhob94 help him optimize his contribution
This is not scripting help, we can give some tips but this is not the place for him to improve the code.
I'll leave one script because this may be harder for him to find.

Code:
#include <amxmodx>
#include <cstrike>

#define Get_User_Money(%1)	cs_get_user_money(%1)
#define Set_User_Money(%1,%2)	cs_set_user_money(%1,%2)

public client_connect(id)
{
	Set_User_Money(id, Get_User_Money(id) + 500) // This is just an example
}
__________________
Jhob94 is offline
Reply



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 10:12.


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