Raised This Month: $ Target: $400
 0% 

Checking for a Valid Player (id)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mugwump
Senior Member
Join Date: May 2004
Old 10-05-2004 , 12:18   Checking for a Valid Player (id)
Reply With Quote #1

After looking at some debug stack traces I see some signs that a few natives are being called with ids that do not refer to valid players, I am assuming they are 0 but havent debugged further on that end yet.

Will is_valid_ent( id ) work to tell me if a passed playerid refers to a valid player, or if not is there another preferred way to handle this?

Thanks!
-Mugwump
Mugwump is offline
 



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 17:18.


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