Raised This Month: $ Target: $400
 0% 

How do i register_clcmd buy?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-21-2014 , 14:02   Re: How do i register_clcmd buy?
Reply With Quote #1

Using 1.8.3, there is a forward: CS_OnBuy(id, item).
__________________
Arkshine is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 06-21-2014 , 18:44   Re: How do i register_clcmd buy?
Reply With Quote #2

Quote:
Originally Posted by Arkshine View Post
Using 1.8.3, there is a forward: CS_OnBuy(id, item).
So?

PHP Code:
register_clcmd("buy""CS_OnBuy"

public 
CS_OnBuy()
{
//Menu stuff  

Or am i wrong?
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 06-22-2014 , 03:54   Re: How do i register_clcmd buy?
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
Using 1.8.3, there is a forward: CS_OnBuy(id, item).
From which build number?

Or I'll just download the latest one anyway.

Does it have a return value?

Like to block player getting item?
__________________

Last edited by Blizzard_87; 06-22-2014 at 03:55.
Blizzard_87 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-22-2014 , 04:00   Re: How do i register_clcmd buy?
Reply With Quote #4

Quote:
Originally Posted by Blizzard_87 View Post
Does it have a return value?

Like to block player getting item?
This thread should provide some help
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 06-22-2014 , 04:08   Re: How do i register_clcmd buy?
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
Thanks, was helpful
__________________
Blizzard_87 is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 06-22-2014 , 13:41   Re: How do i register_clcmd buy?
Reply With Quote #6

Quote:
Originally Posted by Arkshine View Post
Using 1.8.3, there is a forward: CS_OnBuy(id, item).
How about on 1.8.2 and previous versions?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-22-2014 , 14:22   Re: How do i register_clcmd buy?
Reply With Quote #7

Quote:
Originally Posted by georgik57 View Post
How about on 1.8.2 and previous versions?
Well,you have to use new version of amxmodx in order to be able to use this. What is the point to add it into old version ? They won't be old anymore since they are updated.
HamletEagle is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 06-22-2014 , 16:35   Re: How do i register_clcmd buy?
Reply With Quote #8

Quote:
Originally Posted by HamletEagle View Post
Well,you have to use new version of amxmodx in order to be able to use this. What is the point to add it into old version ? They won't be old anymore since they are updated.
The latest stable AMXX is 1.8.2 and I'm currently sticking with it for now until 1.8.3 is officially released and no longer in dev state.

So I need this for my 1.8.2.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
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:13.


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