[ Solved ] Player rights and sound
[ Solved, Thanks Exolent ;) ]
|
Re: Player rights and sound
Quote:
|
Re: Player rights and sound
PHP Code:
|
Re: Player rights and sound
try do this with false and true somethink like if user connects and got flag reservation play sound else if user got reservation && ADMIN_RCON dont play i think u get idea :P
|
Re: Player rights and sound
1. Cache the get_user_flags() value.
2. The correct way to check flags is (flags & ADMIN_*). Only 1 &. 3. Use else if() statements so that the ones after wont be used. Code:
|
Re: Player rights and sound
okay thanks, but if i'm headadmin i got reservation anyway, and its says i'm vip o.O ?
i need to make there check, rcon, admin and then reservation, right ? |
Re: Player rights and sound
That won't work correctly because VIP players with reservation will be detected with ADMIN_ADMIN.
|
Re: Player rights and sound
i make not ADMIN_KICK, not ADMIN_ADMIN, just mine error
|
Re: Player rights and sound
Then, yes. Do rcon, kick, then reservation.
|
Re: Player rights and sound
okay thanks, +k
|
| All times are GMT -4. The time now is 03:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.