Raised This Month: $ Target: $400
 0% 

cs_set_user_deaths() problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cader
Senior Member
Join Date: Mar 2007
Old 02-21-2011 , 20:13   cs_set_user_deaths() problem
Reply With Quote #1

hi guys,

I've been using this plugin (http://forums.alliedmods.net/showthread.php?p=652449) for a while but it's not working for me, as it was mentioned.

This plugin should set player's both frags and deaths to 0 when /resetscore command is used. However when I use the command, my frags & deaths becomes 0 at that time, but my deaths returns to previous on the next round start.

this is the code part of the action;


PHP Code:
public reset_score(id)
{
        
//These both NEED to be done twice, otherwise your frags wont
        //until the next round
        
cs_set_user_deaths(id0)
        
set_user_frags(id0)
        
cs_set_user_deaths(id0)
        
set_user_frags(id0
and ideas?
Cader is offline
 



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 19:43.


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