Raised This Month: $ Target: $400
 0% 

add_user


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheCompany
BANNED
Join Date: Aug 2010
Old 08-16-2010 , 21:38   add_user
Reply With Quote #1

What shall i do whit this. I am trying to add a Cash block to my blockmaker and for my Cash Mod and i got this.

PHP Code:
stock hnsxp_add_user_xp(clientxp)
{
    return 
cm_set_cash(clientcm_get_cash(client) + cm);

And i don't know what it shall stay on
PHP Code:
hnsxp_add_user_xp 
PHP Code:
public plugin_natives()
{
    
register_library("cashmod");
    
register_native("cm_get_cash""_get_cash");
    
register_native("cm_set_cash""_set_cash");

TheCompany is offline
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 08-17-2010 , 13:50   Re: add_user
Reply With Quote #2

You have to use "CashMods" Natives into your Blockmaker
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
TheCompany
BANNED
Join Date: Aug 2010
Old 08-17-2010 , 16:27   Re: add_user
Reply With Quote #3

What do you mean? I need help with this
PHP Code:
hnsxp_add_user_xp 
</span></span>
TheCompany is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 08-17-2010 , 17:01   Re: add_user
Reply With Quote #4

Code:
    return cm_set_cash(client, cm_get_cash(client) + cm);
>
Code:
    return cm_set_cash(client, cm_get_cash(client) + xp);
__________________
hleV is offline
TheCompany
BANNED
Join Date: Aug 2010
Old 08-17-2010 , 20:18   Re: add_user
Reply With Quote #5

Omg i don't wan't the XP Block i wan't Cash Block.
TheCompany 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 21:52.


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