Why this check doesnt work?
Hello,
I have got a question, why this check doesn't work? PHP Code:
|
Re: Why this check doesnt work?
stats[0] --> stats[id]
|
Re: Why this check doesnt work?
But if I will enter stats[id] it will read kills or deaths?
|
Re: Why this check doesnt work?
I can't know that without having a look into your function where you count the stats[] variable.
|
Re: Why this check doesnt work?
It looks like this
PHP Code:
|
Re: Why this check doesnt work?
You're not doing anything with that variable...
|
Re: Why this check doesnt work?
Maybe try to give a full code... and then we could help you...
from what I see as Napoleon_be said... You're not doing anything with the variable... |
Re: Why this check doesnt work?
There is no more code, I've been even trying with get_user_frags(id), but still same problem, it didnt help.
Code:
public cbMyMenu(id, menu, item){ |
Re: Why this check doesnt work?
The problem is, you're not doing anything with the variable "stats[8]". You should declare it global & use it in Ham_Kill function or DeathMsg event to count the kills the player has.
|
Re: Why this check doesnt work?
So could you explain me please, why in this case it works?
Code:
public rangi(id) |
| All times are GMT -4. The time now is 10:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.