Array Problem
Hello.
I did a array: PHP Code:
PHP Code:
PHP Code:
can you tell me why? |
Re: Array Problem
Maybe it is case 0: instead of case 1: , no ?
|
Re: Array Problem
No, that cant be.
Something has to be wrong with: %i, class[id] |
Re: Array Problem
new class[33]
|
Re: Array Problem
dont work :(
here is my full code: PHP Code:
|
Re: Array Problem
you can't use id in event_new_round, you have to loop through all the players
Edit: try this: PHP Code:
|
Re: Array Problem
can you tell me how?
|
Re: Array Problem
Quote:
|
Re: Array Problem
Thank u very much.
class[id] returns 1 now. But why i dont get gravity and 150 hp??? if(class[id] == 1) { set_user_health(id, 150) set_user_gravity(id, 0.5) } |
Re: Array Problem
my guess would be that you have error logs in event round start because the player in not alive or something, check the logs and enable debug.
|
| All times are GMT -4. The time now is 14:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.