whats wrong here?
yes, i know. it's another stupid vip plugin. but i'm still learning :D
Code:
/* Plugin generated by AMXX-Studio */Quote:
Code:
{ |
Re: whats wrong here?
Didn't look at code, just fixed warnings:
PHP Code:
|
Re: whats wrong here?
thanks, but how come when i add this to the code, it gives a error on public menu_handler
PHP Code:
|
Re: whats wrong here?
Remove the second {
|
Re: whats wrong here?
thanks, but it still lets non-admins use it.
|
Re: whats wrong here?
if(!(get_user_flags(id) & ADMIN_CHAT))
return PLUGIN_HANDLED |
Re: whats wrong here?
PHP Code:
or PHP Code:
|
Re: whats wrong here?
PHP Code:
|
Re: whats wrong here?
thanks alot :) but for some reason, when i spawn i get a awp a grenades. but i took out my hamspawn function
PHP Code:
|
Re: whats wrong here?
Instead of checking is_user_alive() in each case, do it before the switch.
And you shouldn't get anything on spawn based on that code... |
| All times are GMT -4. The time now is 22:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.