Raised This Month: $ Target: $400
 0% 

Entity Not Showing Up


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-01-2011 , 10:09   Entity Not Showing Up
Reply With Quote #1

I'm making a Bag-Tag mod, where a bag is randomly given to one person, and then the other team must kill that player. Every 10 seconds, the person with the bag and his team each get 1 frag, and the team score goes up by 1.

I haven't finished too much with it, but I'm having a problem getting the entity to show up (bag model that stays at their hands).

I haven't really messed with it to figure out how to get it at their hands, so as of right now I'm just putting it at their origin.

Like I said, it doesn't show up. Even when I kill myself, I still can't see it.

Any ideas?

Code Removed.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 10-01-2011 at 13:39.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 10-01-2011 , 10:41   Re: Entity Not Showing Up
Reply With Quote #2

SOLVED: g_iOwner was not set to id when the game started AND
I was setting the origin wrong.

Thanks to drekes @supercentral.net
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
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 19:42.


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