Raised This Month: $ Target: $400
 0% 

adding time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
yamin
BANNED
Join Date: Jan 2012
Location: Sharjah
Old 05-13-2012 , 09:18   Re: adding time
Reply With Quote #7

Quote:
Originally Posted by <VeCo> View Post
Don't make double posts.

I didn't understand you what exactly is that "time" and what exaclty are you trying to do...

Here's a strange example with commands that add +1/-1 to the user_time, but I don't know what do you want...

PHP Code:
#include <amxmodx>
 
new user_time[33]
public 
plugin_init()
{
register_clcmd("say /timeadd","time_add")
register_clcmd("say /timesub","time_substract")
}
 
public 
time_add(iduser_time[id]++ //add 1 time (???)
public time_substract(iduser_time[id]-- //substract 1 time (???) 
thanks
yamin 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 00:20.


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