members offline
#1

PHP код:
ShowPlayerDialog(playeridd_offlineDIALOG_STYLE_LIST"Members""members offline""ok""cancel"); 
case 
d_offline
{
        if(!
response) return 1;
        new 
string[64],mysql_format(handle,string,sizeof(string),"SELECT * FROM `accounts` WHERE `Member` = '%d'",pl[playerid][pMember]),mysql_function_query(handle,
 
stringtrue"OFFmembers""d",playerid);     
}
forward OFFmembers(playerid);
public 
OFFmembers(playerid)
{
        new 
rowsfields,i,string2[64],string[1256],name[MAX_PLAYER_NAME];
        
cache_get_data(rowsfields);
        for(
0rowsi++)
        {
                
cache_get_field_content(i"Name"string2),strmid(namestring20strlen(string2), MAX_PLAYER_NAME); 
                
format(string,sizeof(string),"%s\n%s",name,string); 
                
ShowPlayerDialog(playerid0DIALOG_STYLE_LIST"Меню лидера: Сотрудники",string"ok""cancel"); 
        }
        return 
true;

How to make it so that when you click on the player (from the list of offline subordinate organizations) you could dismiss or another action to commit?
Reply


Messages In This Thread
members offline - by EvgeniyHostel1992 - 24.03.2018, 14:25
Re: members offline - by jasperschellekens - 24.03.2018, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)