Give free access by the command
Can anyone help with this code?
When player type /vip he will get flag H. 5 max players can have that flag in current map. After player disconnect remove flag and let another player to take it by using /vip. Hope you understand. PHP Code:
|
Re: Give free access by the command
What are you having issues with? (If you are going to post here for help, you need to describe what your problem is)
|
Re: Give free access by the command
I didn't test it. Just want to ask is it right code? And do i need to use iAmount[ id ]--; in player_disconnect?
client_print( id, print_chat, "* Access given %d from %d!", iAmount, get_pcvar_num( g_Amount ) ); How to print how many access given in current moment? i think iAmount will be wrong? |
Re: Give free access by the command
Quote:
|
Re: Give free access by the command
Quote:
"* Access given 0 from 5!" Doesn't give me access. iAmount[ id ] is only for same ID? i need it what 5 different players can take access by using /vip. Must show : * Access given 4 from 5! * Access given 3 from 5! * Access given 2 from 5! |
| All times are GMT -4. The time now is 23:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.