AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] HAMSANDWICH (Invalid entity) (https://forums.alliedmods.net/showthread.php?t=240439)

Fuck For Fun 05-15-2014 13:03

[HELP] HAMSANDWICH (Invalid entity)
 
Fixed

Backstabnoob 05-15-2014 13:48

Re: [HELP] HAMSANDWICH (Invalid entity)
 
The first one is self explanatory, it tells you that the entity is invalid so obviously all you need to do is make sure it's valid with pev_valid or something.

Good luck with the second one, some people have that problem and I couldn't find a solution. At least post more than two lines...

Fuck For Fun 05-15-2014 13:57

Re: [HELP] HAMSANDWICH (Invalid entity)
 
Code:

new entity = 1? true?

Backstabnoob 05-15-2014 14:29

Re: [HELP] HAMSANDWICH (Invalid entity)
 
@HamletEagle that's completely wrong.
PHP Code:

public FwdKnifeDeploy_Postentity )
{

    if( !
pev_validentity ) )
    {
         return 
0
    
}

    static 
client;
    
    
client get_pdata_cbaseentity41);
    
    return 
1;



Fuck For Fun 05-15-2014 14:39

Re: [HELP] HAMSANDWICH (Invalid entity)
 
@Backstabnoob

i will check Your Code, Thank :)


All times are GMT -4. The time now is 09:41.

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