Raised This Month: $ Target: $400
 0% 

catch player touch the entity model number


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 11-21-2009 , 06:48   catch player touch the entity model number
Reply With Quote #1

hey,

i want to catch the model id & my plugin gives me other id as what i can see in bspviewer.. know anyone why its so ?

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fakemeta>
#include <fakemeta_stocks>

public plugin_init() 
{
    
register_plugin("haha","huhu""haha")
    
register_touch("trigger_hurt","player","Forward_PlayerTouchRedirect")
}
public 
Forward_PlayerTouchRedirect(id,entmodel[])
{
    new 
test[32];
    
EF_ModelIndex(test)
    
client_print(0,print_chat,"%s",sModel,class,class,test)

model id showed in bsp viewer = *1
plugin outpuu = 214
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 


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 13:39.


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