Raised This Month: $32 Target: $400
 8% 

FindEntity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spartan-117
Senior Member
Join Date: Dec 2004
Old 12-19-2004 , 10:22   FindEntity
Reply With Quote #1

i try to make a hero with a set skin into it
when i compile my hero and i keep getting
undefinedsymbol "FindEntity"

how do i fix this
Spartan-117 is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 12-19-2004 , 12:35  
Reply With Quote #2

can't tell ya how to fix it, but look at Antman, it may help you
__________________
Chivas2973 is offline
Spartan-117
Senior Member
Join Date: Dec 2004
Old 12-19-2004 , 14:11  
Reply With Quote #3

heres the part i think im screwed up in

Code:
public model(id) { 
  if ( !is_user_alive(id) ) return PLUGIN_CONTINUE 
  // Weapon Model change thanks to [CCC]Taz-Devil
  Entvars_Set_String(id, EV_SZ_viewmodel, "models/shmod/Unsilenced/v_elite.mdl") 
  new iCurrent 
  iCurrent = FindEntity(-1,"weapon_mp5navy") 
  while(iCurrent != -1) { 
    iCurrent = FindEntity(iCurrent,"weapon_mp5navy") 
   }
What do i put
here
Code:
(-1,"weapon_mp5navy")
and here
Code:
(iCurrent,"weapon_mp5navy")
for the elites?

and how do i get rid of these
Attached Images
File Type: jpg Error.jpg (35.6 KB, 190 views)
Spartan-117 is offline
Spartan-117
Senior Member
Join Date: Dec 2004
Old 12-19-2004 , 16:38  
Reply With Quote #4

i tried a different way to make it and it compiles but the skin wont shot and i get


L 12/19/2004 - 15:25:55: [AMXX] Function is not present (function "check_elite") (plugin "sh_Ballers2.amxx")

in the console. help
Spartan-117 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-19-2004 , 22:32  
Reply With Quote #5

if you actually attached the sma maybe someone could help
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Spartan-117
Senior Member
Join Date: Dec 2004
Old 12-19-2004 , 23:22  
Reply With Quote #6

ehehehehe never thought of that
[/small]
Attached Files
File Type: txt sh_Ballers2.txt (3.1 KB, 181 views)
Spartan-117 is offline
reaper
Senior Member
Join Date: May 2004
Old 12-19-2004 , 23:56  
Reply With Quote #7

it compiled perfectly over here on my comp dunno whats wrong
reaper is offline
Send a message via AIM to reaper Send a message via Yahoo to reaper
Spartan-117
Senior Member
Join Date: Dec 2004
Old 12-19-2004 , 23:59  
Reply With Quote #8

i never said i had a problem with it compiling. my problem is the ELITE SKIN isnt showing up when i have the hero.
Spartan-117 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 12-20-2004 , 07:47  
Reply With Quote #9

Code:
register_event("CurWeapon","check_elite","be","1=1")
this is trying to call the "check_elite" function.... where is it????
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Spartan-117
Senior Member
Join Date: Dec 2004
Old 12-20-2004 , 16:58  
Reply With Quote #10

I guess its not there, put it in and send it i guess cause i have no idea wat that is.
Spartan-117 is offline
Reply


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 16:44.


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