Raised This Month: $ Target: $400
 0% 

set_user_frags problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-07-2013 , 17:53   Re: set_user_frags problem
Reply With Quote #1

Thanks it works
__________________
Jhob94 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-07-2013 , 18:02   Re: set_user_frags problem
Reply With Quote #2

Or use this :

Add 1 frag to player
PHP Code:
ExecuteHam(Ham_AddPointsid1true); 
In addition :

PHP Code:
CsSetUserScore(idfragsdeaths)
{
    
set_pdata_int(idm_iDeathsdeaths);
    
ExecuteHam(Ham_AddPointsidfrags get_user_frags(id), true);
}

CsSetUserFrags(idfrags)
{
    
ExecuteHam(Ham_AddPointsidfrags get_user_frags(id), true);
}

CsSetUserDeaths(iddeaths)
{
    
set_pdata_int(idm_iDeathsdeaths);
    
ExecuteHam(Ham_AddPointsid0true);

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-07-2013 , 18:46   Re: set_user_frags problem
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
Or use this :

Add 1 frag to player
PHP Code:
ExecuteHam(Ham_AddPointsid1true); 
In addition :
Does it updates automatickly the score board?
__________________
Jhob94 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-08-2013 , 00:21   Re: set_user_frags problem
Reply With Quote #4

That's why i suggested you to use it, yes.

Spoiler
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-08-2013 at 00:22.
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