Raised This Month: $ Target: $400
 0% 

AMX Super -> Invalid PlayerID 0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
taheri6
Member
Join Date: Mar 2006
Old 01-09-2008 , 20:58   Re: AMX Super -> Invalid PlayerID 0
Reply With Quote #2

maybe you need something like this?

PHP Code:

#define MAX_PLAYERS 33

public Util_Is_Valid_Playerid )
{
    if( 
== id || id MAX_PLAYERS )
    {
        return 
false;
    }

    if( 
is_user_connectedid ) && ( pevidpev_flags ) & FL_CLIENT ) )
    {
        return 
true;
    }

    return 
false;

before the call ?
__________________
http://www.yaur.com -=[Yaur]=- Clan Website
taheri6 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 19:00.


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