Misstake in the code
Sometimes (not all the time, i guess this "bug" pops up when in server are 14 - 16~ players) some of the players dont get things they must to (debends on the chosen day).
For e.g. they dont get guns on DAY_CTSHIELD, heres the code: Code:
#define IsPlayer(%1) (1<=%1<=g_max_clients)Im basicly talking about this part of code, becouse the rest of code i think is fine. Code:
#define IsPlayer(%1) (1<=%1<=g_max_clients) |
Re: Misstake in the code
According to the code you've given the function is never called. Also, there does not exist a case for DAY_CTSHIELD in that code.
|
Re: Misstake in the code
No no, theres everything fine, when u type /days there shows menu with days names and when u chose one of them then this function is called. And DAY_CTSHLD is registered.
|
Re: Misstake in the code
Any way i hope now everything will be fine.
I'v deleted Code:
IsPlayerand Code:
for(new i = 0; i < g_max_clients; i++)Code:
for(new i = 1; i < g_max_clients; i++) |
| All times are GMT -4. The time now is 11:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.