client_print cmd_target problems...
PHP Code:
how would I do this? EDIT: This has been solved, view post 16 for the current issue at hand.. |
Re: make a case of a switch equal a string?
You can't do it with full strings, you can do a switch for the first character though. I would suggest just doing if/else.
|
Re: make a case of a switch equal a string?
PHP Code:
|
Re: make a case of a switch equal a string?
Quote:
PHP Code:
PHP Code:
|
Re: make a case of a switch equal a string?
okay, I now have it 100% set up, I still have to warning about indentation.. IDK but how do I 'refresh' the cloak after user dies?
like.. is_user_dead, is there anything like that? |
Re: make a case of a switch equal a string?
there is
is_user_alive(id) |
Re: make a case of a switch equal a string?
Quote:
Code:
But i think you're looking for deathmsg event. :wink: Code:
|
Re: make a case of a switch equal a string?
Also, you need to start using braces.
PHP Code:
|
Re: make a case of a switch equal a string?
Quote:
PHP Code:
|
Re: make a case of a switch equal a string?
Quote:
the final product: PHP Code:
|
| All times are GMT -4. The time now is 15:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.