Raised This Month: $51 Target: $400
 12% 

Trash it !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 04-25-2015 , 14:00   Trash it !
Reply With Quote #1

trash it :p
__________________
Moroccan and proud

Last edited by Linkin Hisoka; 04-26-2015 at 11:26.
Linkin Hisoka is offline
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 04-25-2015 , 17:38   Re: help me to display menu shop
Reply With Quote #2

WTF ?

PHP Code:
cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(gcvar_gravity)); 
Money - Gravity = ???
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
Shiina.Mashiro
Senior Member
Join Date: Sep 2014
Location: Vietnam
Old 04-26-2015 , 01:10   Re: help me to display menu shop
Reply With Quote #3

@Linkin Hisoka:
If you want to set the menu only available for ADMIN_KICK, just do this
PHP Code:
register_clcmd("say /shopadmin""Hisoka"ADMIN_KICK
so you don't need to check if player has that flags in your function.
Btw your clcmd is say /shopadmin, not /adminshop, so check it again, because I don't see anything wrong with the menu code.

@BaD CopY:
pcvar_gravity is the price of the gravity stuff.
btw his problem is not that.
__________________
Shiina.Mashiro is offline
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 04-26-2015 , 07:02   Re: help me to display menu shop
Reply With Quote #4

#Shiina.Mashiro

thanks i will try
__________________
Moroccan and proud
Linkin Hisoka is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 04-26-2015 , 07:50   Re: help me to display menu shop
Reply With Quote #5

Quote:
Originally Posted by BaD CopY View Post
WTF ?

PHP Code:
cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(gcvar_gravity)); 
Money - Gravity = ???
Noob

set the money (get the user money - get the price of gravity using pcvar num )
and minus it
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 04-26-2015 , 11:25   Re: help me to display menu shop
Reply With Quote #6

Quote:
Noob

set the money (get the user money - get the price of gravity using pcvar num )
and minus it
this is not of your business
__________________
Moroccan and proud
Linkin Hisoka is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 04-27-2015 , 00:15   Re: Trash it !
Reply With Quote #7

btw @linkin i didnt said to you so stfu better for you
this is forum so i can comment anywhere if you have any problem with me just put me in ignore list
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 04-27-2015 , 06:09   Re: Trash it !
Reply With Quote #8

your fault you

PHP Code:
cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(gcvar_gravity)); 
it is right
__________________
Moroccan and proud
Linkin Hisoka is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 04-27-2015 , 08:22   Re: Trash it !
Reply With Quote #9

mine was algo not program
__________________
Thanks everyone. #miss_you_all
indraraj striker 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 09:13.


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