Scripting help. How to check eg. February 14.
How to check any date on Counter Strike? I am going to do an easy plugin in my server. It's called hollyday VIPs. Every one will have VIP status on my server.
|
Re: Scripting help. How to check eg. February 14.
PHP Code:
|
Re: Scripting help. How to check eg. February 14.
For example?
PHP Code:
|
Re: Scripting help. How to check eg. February 14.
Did you even read the link he posted ?
|
Re: Scripting help. How to check eg. February 14.
Yes, I have no idea how to make it work with "if"
|
Re: Scripting help. How to check eg. February 14.
get_time() puts the data you want in a string, so you need to str_to_num() or equal[i]() to compare the data in an if statement.
You could check the "say /thetime" function from the default amxx package. I'm not sure which plugin has that though, you'll need to look into that yourself. |
Re: Scripting help. How to check eg. February 14.
Code:
#include <amxmodx> |
Re: Scripting help. How to check eg. February 14.
Seems like this should be simpler. In looking at the example on the wiki would something like this work?
PHP Code:
|
Re: Scripting help. How to check eg. February 14.
It's pointless to add so much stuff for such a simple thing.
PHP Code:
@joshknifer: Your code is wrong. |
Re: Scripting help. How to check eg. February 14.
Quote:
|
| All times are GMT -4. The time now is 08:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.