View Single Post
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