Raised This Month: $ Target: $400
 0% 

messagemode and return value


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-01-2011 , 18:51   Re: messagemode and return value
Reply With Quote #2

Have option 6 do client_cmd(id, "messagemode Buy_Custom_XP") then make a public function of the same name:

PHP Code:
public Buy_Custom_XP(id)
{
    new 
szArg[4]
    
read_argv(1szArgcharsmax(szArg))
    new 
iArg str_to_num(szArg)

    
// id has chosen to buy iArg XP so take their money and give them iArg XP.

__________________
fysiks 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 02:13.


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