AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Entity Not Showing Up (https://forums.alliedmods.net/showthread.php?t=168594)

nikhilgupta345 10-01-2011 10:09

Entity Not Showing Up
 
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.

nikhilgupta345 10-01-2011 10:41

Re: Entity Not Showing Up
 
SOLVED: g_iOwner was not set to id when the game started AND
I was setting the origin wrong.

Thanks to drekes @supercentral.net :)


All times are GMT -4. The time now is 19:42.

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