Raised This Month: $ Target: $400
 0% 

Kreedz Time Scoreboard


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 11-27-2010 , 05:36   Kreedz Time Scoreboard
Reply With Quote #1

I remeber this link http://svn.alliedmods.net/viewvc.cgi/?root=teame06
and there was a plugin to set the time from kreedz to player scoreboard, but nomore...
How can i set the time to player scoreboard

Code:
public finish_climb(id) {     new name[15]     start_button[id] = true     get_user_name(id,name,15)     new iTime = floatround(get_gametime() - kz_StartTime[id])     ColorChat(0, RED, "[kz#] ^1%s finished the map in ^4%d:%02d ^1(CP:^4%i ^1TP:^4%i^1)",name,iTime/60, iTime%60,cp_count[id],tp_count[id])     timer_started[id] = false     reset_data(id)     return PLUGIN_CONTINUE }
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-27-2010 , 05:39   Re: Kreedz Time Scoreboard
Reply With Quote #2

set_user_frags(id, iTime/60)
cs_set_user_deaths(id, iTime%60)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-27-2010 , 15:58   Re: Kreedz Time Scoreboard
Reply With Quote #3

Quote:
Originally Posted by xakintosh View Post
somthing like thath
Code:
new x1[5] x1 = set_user_frags(id, "%d",iTime/60)
... Where did you find code like that?
Connor gave you a perfect example:

Quote:
Originally Posted by ConnorMcLeod View Post
set_user_frags(id, iTime/60)
cs_set_user_deaths(id, iTime%60)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 11-27-2010 , 05:40   Re: Kreedz Time Scoreboard
Reply With Quote #4

oh thanks i get some error's when try with set_user_frags and cs_set_user_deaths
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
bibu
Veteran Member
Join Date: Sep 2010
Old 11-27-2010 , 13:19   Re: Kreedz Time Scoreboard
Reply With Quote #5

SHow it then?
bibu is offline
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 11-27-2010 , 15:52   Re: Kreedz Time Scoreboard
Reply With Quote #6

somthing like that
Code:
new x1[5] x1 = set_user_frags(id, "%d",iTime/60)

This was my first atempt ^^

Last edited by xakintosh; 11-28-2010 at 13:44.
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
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 11:22.


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