A little problem. Can you help me?
Hello.
When the player sais "pack" then a BarTime shows. After it loads the player get 50 HP... But all this just then the bool:limited is true. Thats not the problem; it works very fine but the bool ist just for 1 player... When another player is there just 1 can use the BarTime. You udnerstand. So i need 32 bools, 1 for every id. my code: PHP Code:
|
Re: A little problem. Can you help me?
You dont need to put the bool: tag when creating a boolean variable bcoz it is not considered necessary...:)
|
Re: A little problem. Can you help me?
yeah, but the problem is, that every id needs an own variable but i dont know how :(
|
Re: A little problem. Can you help me?
Do
PHP Code:
PHP Code:
|
Re: A little problem. Can you help me?
Thanks i tried, but now it says "you already used" everytime i trz to use, but that cant be i never used it so limited[id] soudth be 1 -.-!
code: PHP Code:
|
Re: A little problem. Can you help me?
If I remember correctly, doing:
PHP Code:
|
Re: A little problem. Can you help me?
i tryd it without this true but dont works too
|
Re: A little problem. Can you help me?
PHP Code:
|
Re: A little problem. Can you help me?
ye, it was the event... but i changed it to
RegisterHam(Ham_Spawn, "player", "FwdHamSpawn_Post", 1); thats even bether cause the player gets an healthpack when he spawns :D thank you much for ur time mottzi |
| All times are GMT -4. The time now is 14:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.