Raised This Month: $ Target: $400
 0% 

small edit please.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Foxa
Member
Join Date: Nov 2018
Location: Croatia
Old 09-05-2020 , 18:11   Re: small edit please.
Reply With Quote #11

Why is your code a .dat file??

Of course everyone gets slayed, cause he changed the task delay from 1.0 to 5.0 which results in players having (about) "500 fps", you can't reset a variable that counts something PER SECOND every 5 seconds..

PHP Code:
set_task(5.0"ShowFps",id+DEVELOPER_OFFSET__"b"); 
->
PHP Code:
set_task(1.0"ShowFps",id+DEVELOPER_OFFSET__"b"); 
This
PHP Code:
if(get_user_flags(id) & ADMIN_RCON)
                
ChatColor(0"Player !g%s!t slayed for using more fps than allowed(100)",name
does not do what he asked, that prints a message to EVERYONE (since the index is set to 0) when someone with ADMIN_RCON level had been slayed

This is just ridiculous..
PHP Code:
else
                
ChatColor(id"!g%s!t slayed for using more fps than allowed(100)",name)
                
ChatColor(id"!g%s!t slayed for using more fps than allowed(100)",name)
                
ChatColor(id"!g%s!t slayed for using more fps than allowed(100)",name)
                
ChatColor(id"!g%s!t slayed for using more fps than allowed(100)",name)
                
ChatColor(id"!g%s!t slayed for using more fps than allowed(100)",name
Foxa 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 09:01.


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