PHP Code:
public menu(id) {
if(!is_user_alive(id) && is_user_connected(id))
ColorChat(id, BLUE, "You must be alive to use this function")
return PLUGIN_HANDLED;
new menu = menu_create("title...", "handler")
menu_additem( menu, "some function...", "1" )
menu_display(id, menu, 0)
return PLUGIN_HANDLED
}
if I remove the colorchat message, i don't get this error.. can anyone explain the difference and why? thanks
also using { and } i get errors