View Single Post
Stereo
Veteran Member
Join Date: Dec 2010
Old 07-17-2013 , 10:42   Re: New Lobby - Chat System
Reply With Quote #8

Nice!

I would change some things, to optimize:

PHP Code:
stock bool:in_lobby(id)
{
    for(
0g_lobbysi++)
        if(
g_data[id][i] == member || g_data[id][i] == creator) return true
    
return false

and

PHP Code:
if(g_data[id][g_selected[id]])
{
        for( new 
id2 1id2 <= g_maxplayersid2++){
            if(
g_connected[id2] && g_data[id2][g_selected[id]]){
                
hns_print_color(id2"^x04[%s]^x03%s ^x03%s^x01: %s"buffersz_status[g_data[id][g_selected[id]]], namesay)
            }
        }

You can add a comand to create a lobby (for example "say /create_lobby <name of lobby>")

Last edited by Stereo; 07-17-2013 at 11:13.
Stereo is offline