Raised This Month: $ Target: $400
 0% 

client_infochanged model!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 04-17-2016 , 01:43   Re: client_infochanged model!
Reply With Quote #6

Quote:
Originally Posted by Krtola View Post
Give me full code.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

new new_model[33][32
new 
old_model[33][32]

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}
 

public 
client_infochanged(id
{  
    if(!
is_user_alive(id))
    
get_user_info(id,"model",old_model[id],31

    if(!
equali(new_model[id],old_model[id]))
    {
        
client_cmd(id,"drop");
        
client_print(id,print_chat,"==== Check Model !==== "
        return 
PLUGIN_HANDLED     
    
}
    
    return 
PLUGIN_HANDLED

this all !
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 



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 18:33.


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