AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help with get_user_flags (https://forums.alliedmods.net/showthread.php?t=152883)

EclipseCP 03-15-2011 15:36

help with get_user_flags
 
hello, sry mi bad english, is bad :/

I need to know how I can make if well, because I can not, with 2 variables and flags

in takedamage... I have not tried, but not if it will work, that's fine?

PHP Code:

g_exp[attacker] += get_pcvar_num(cvar_expup) * (get_user_flags(attacker) ? ACESS_DOUBLE ACCESS_TRIPLE) ? g_access_double[attacker] : g_access_triple[attacker

grettings :P

Exolent[jNr] 03-15-2011 16:53

Re: help with get_user_flags
 
Test before posting.

Also, the only thing I understood from that was you didn't test it first.

fysiks 03-15-2011 18:25

Re: help with get_user_flags
 
get_user_flags(attacker) alone will always return true, FYI.

EclipseCP 03-15-2011 18:44

Re: help with get_user_flags
 
solved, delete this thread or closed :):3


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

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