AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Entity Error (https://forums.alliedmods.net/showthread.php?t=154343)

dejan 04-06-2011 14:44

Entity Error
 
Can someone help me with this?

PHP Code:

L 04/06/2011 19:48:58: [AMXXRun time error 10native error (native "entity_get_int")
L 04/06/2011 19:48:58: [AMXX]    [0cod_mw.sma::ShowInformation (line 1496)
L 04/06/2011 19:48:58: [ENGINEInvalid entity 18 

PHP Code:

public ShowInformation(id
{
    if(!
is_user_alive(id))
    {
        new 
target entity_get_int(idEV_INT_iuser2);
        
        if(
target == 0)
            return 
PLUGIN_CONTINUE;
    }



schmurgel1983 04-06-2011 14:54

Re: Entity Error
 
check if user connected


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

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