AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   entity problem (https://forums.alliedmods.net/showthread.php?t=129531)

TSuNaMi_ 06-13-2010 18:36

entity problem
 
hi guyz. I working on a anti esp hack plugin. Nowly, plugin works perfect ( blocks esp hack bla bla ). Bu i have a error: Players footsteps coming behind and when a press button "D", sound coming only from right channel or when a press button "A", sound coming only from left channel...And i tested lots of function in our plugin and i found reason of this problem. Entitty function...

Code:

public client_putinserver(id) {
    // creating entity attached to a player, all sounds are played by  the attached entity, not by players entity
    static infotarget
    if(!infotarget) infotarget = engfunc(EngFunc_AllocString,  "info_target")
   
    g_followent[id] = engfunc(EngFunc_CreateNamedEntity, infotarget)
    if(pev_valid(g_followent[id])) {
        set_pev(g_followent[id], pev_movetype, MOVETYPE_FOLLOW)
        set_pev(g_followent[id], pev_effects, EF_NODRAW)
        set_pev(g_followent[id], pev_aiment, id)
    }
}

how can i fix this pls help me :grrr:... thnx....

TSuNaMi_ 06-13-2010 19:43

Re: entity problem
 
anyone know fix ??

TSuNaMi_ 06-14-2010 06:56

Re: entity problem
 
pffff :|

Arkshine 06-14-2010 07:48

Re: entity problem
 
1 - Stop to flood
2 - Read the rules
3 - You don't show enough code.


All times are GMT -4. The time now is 14:52.

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