Raised This Month: $ Target: $400
 0% 

set_user_frags problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 08-08-2013 , 06:03   Re: set_user_frags problem
Reply With Quote #1

Quote:
Originally Posted by bibu View Post
Connor, why:

PHP Code:
frags get_user_frags(id
and not just

frags

?
Because it will add points
TheDS1337 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-08-2013 , 12:03   Re: set_user_frags problem
Reply With Quote #2

PHP Code:
ExecuteHam(Ham_AddPointsidfrags get_user_frags(id), true); 
is same than doing :

PHP Code:
set_pev(idpev_frags0.0);
ExecuteHam(Ham_AddPointsidfragstrue); 
Do as you want, as it is the most easy to understand and to be comfortable with.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:56.


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