On and OFF toggle for a DIALOG_STYLE_TABLIST_HEADERS
#4

I was on my phone when I wrote my original reply. There's not much to show here. Check the Wiki page.

PHP код:
// OnDialogResponse
if (dialogid == DIALOG_SETTINGSMAIN)
{
    if (
response)
    {
        switch (
listitem)
        {
            case 
0:
            {
                
phoneVar = !phoneVar;
            }
            case 
1:
            {
                
newbieChatVar = !newbieChatVar;
            }
            
// etc
        
}
        
// other possible code here, like ShowPlayerDialog
    
}
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)