Raised This Month: $ Target: $400
 0% 

Event for Player is not in Game


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sake
Senior Member
Join Date: Jul 2011
Old 07-23-2011 , 10:51   Re: Event for Player is not in Game
Reply With Quote #1

Hmmm. K.

Some other thing (what is the reason why I search for this): When I spawn a player that is not in the game the model appears and is stuck in the map. But the player is in Spectator Mode. How can I delete the old model?

Somehting like this, maybe?

engfunc(EngFunc_FreeEntPrivateData, id);

EDIT: I already know how to distinguish if the player is spawned correctly:

pev(id,pev_weapons) != 0

Last edited by sake; 07-23-2011 at 11:34.
sake is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-23-2011 , 11:42   Re: Event for Player is not in Game
Reply With Quote #2

Fake jointeam with engclient_cmd() on player before spawning him.
__________________
Hunter-Digital is offline
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 01:07.


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