Raised This Month: $ Target: $400
 0% 

Only purchase on base


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-25-2012 , 02:13   Re: Only purchase on base
Reply With Quote #7

I can think of a couple of ways:

A simple check:
PHP Code:
cs_get_user_buyzoneid 
Or

PHP Code:
register_messageget_user_msgid"StatusIcon" ), "msg_StatusIcon" );

public 
msg_StatusIconmsgidmsgdestid 

    static 
szMsg]; 
    
get_msg_arg_string2szMsgcharsmaxszMsg ) ); 
    
    if( 
equalszMsg"buyzone" ) && get_msg_arg_int) ) 
    { 
        
//buy here
    


Rak beat me to it
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 04-25-2012 at 02:16.
hornet 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 07:40.


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