Raised This Month: $ Target: $400
 0% 

Detect model change


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
darktemplar
Member
Join Date: Sep 2009
Old 02-04-2013 , 06:08   Detect model change
Reply With Quote #1

Hi,
Anyone can tell me how to detect when a player change his/her model ?

Thanks ;)
darktemplar is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 02-04-2013 , 07:43   Re: Detect model change
Reply With Quote #2

Could be possible with boolean.
Torge is offline
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
Reply



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