Raised This Month: $ Target: $400
 0% 

client_infochanged model!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 04-15-2016 , 06:41   client_infochanged model!
Reply With Quote #1

Hi !
who can give me the better way to cheack players has changed models in consol using "model" cmd

i tryed that but it is not accurate!

PHP Code:
new new_model[33][32
new 
old_model[33][32

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

__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 


Thread Tools
Display Modes

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