AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   player gets million drag (https://forums.alliedmods.net/showthread.php?t=108685)

~Ice*shOt 11-08-2009 06:10

player gets million drag
 
I using this:

cvar_maxdrags = register_cvar("smoker_maxdrags", "5")

public newSpawn(id)
{
g_hooksLeft[id] = get_pcvar_num(cvar_maxdrags)
beam_remove(id)

if (g_hooked[id])
drag_end(id)
}

but smoker gets million drags. Why ?

Doc-Holiday 11-08-2009 06:22

Re: player gets million drag
 
Quote:

Originally Posted by ~Ice*shOt (Post 983936)
I using this:

PHP Code:

cvar_maxdrags register_cvar("smoker_maxdrags""5")

public 
newSpawn(id)
{
    
g_hooksLeft[id] = get_pcvar_num(cvar_maxdrags)
    
beam_remove(id)
    
    if (
g_hooked[id])
        
drag_end(id)


but smoker gets million drags. Why ?


~Ice*shOt 11-08-2009 10:33

Re: player gets million drag
 
who can help ?

Doc-Holiday 11-08-2009 12:33

Re: player gets million drag
 
Quote:

Originally Posted by ~Ice*shOt (Post 984060)
who can help ?


whats the whole plugin


All times are GMT -4. The time now is 17:35.

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