SERVER: Unknown command.
#1

PHP код:
command(maleteroplayeridparams[])
{
    if(!
sscanf(params"s"params))
    {
        if(
strcmp(params,"acceder",true) == 0
        {
            new list[
385],
            
listing2=-1;
            
format(list, sizeof(list), "#\tObjeto\tTipo\tUsos\n"); 
            for(new 
lmaleteross; ++l
            { 
                
                if(
maletero[pinfo[playerid][maletero]][objeto][l] != TRUNK_INVALID_OBJECT)
                {
                    
listing2++;
                    
listing[listing2][playerid]=l;
                    
format(list, 1024"%s[%d]\t%s\t%s\t%d\n", list, l+1GetObjectName(maletero[pinfo[playerid][maletero]][objeto][l]), trunkobjects[maletero[pinfo[playerid][maletero]][tipo][l]+1], maletero[pinfo[playerid][maletero]][cantidad][l]); 
                }
            }
            
Dialog_Show(playeridtrunkDIALOG_STYLE_TABLIST_HEADERS"Maletero", list, "Tomar""Salir");
        }
    }
    return 
1;

Reply


Messages In This Thread
SERVER: Unknown command. - by Ecologic - 15.07.2015, 22:52
Respuesta: SERVER: Unknown command. - by Swedky - 15.07.2015, 23:07
Respuesta: SERVER: Unknown command. - by Zume - 15.07.2015, 23:36
Re: SERVER: Unknown command. - by SickAttack - 15.07.2015, 23:40
Re: SERVER: Unknown command. - by admantis - 16.07.2015, 15:42
Respuesta: Re: SERVER: Unknown command. - by Ecologic - 16.07.2015, 18:06
Re: SERVER: Unknown command. - by admantis - 16.07.2015, 23:03

Forum Jump:


Users browsing this thread: 5 Guest(s)