Raised This Month: $ Target: $400
 0% 

Detect model change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kard1nal
Senior Member
Join Date: Dec 2012
Location: Russia
Old 02-04-2013 , 10:06   Re: Detect model change
Reply With Quote #3

PHP Code:
public plugin_init()
register_forward(FM_SetClientKeyValue"set_client_kv")

public 
set_client_kv(id, const info[], const key[])
{
if(
equal(key"model"))
    return 
FMRES_SUPERCEDE //or do whatever you want

return FMRES_IGNORED

Kard1nal is offline
Send a message via Skype™ to Kard1nal
 



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 20:37.


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