[Ajuda] Procurados no dialog
#1

Olб , boa noite , fiz um cуdigo , que me parece ser bem simples mais infelizmente ele nгo estб funcionando ,
eu seleciono la "procurados" la no menu de policia mais ele nгo faz nada :X

PHP код:
            if(listitem == 1)
            {
                new 
pNameWanted[MAX_PLAYER_NAME],str[200],InsStr[500];
                for(new 
wantwant GetMaxPlayers(); want++)
                {
                    if(
IsPlayerConnected(want))
                    {
                        if(
GetPlayerWantedLevel(want) > 0)
                        {
                            
GetPlayerName(want,pNameWanted,sizeof(pNameWanted));
                            
format(str,sizeof(str),"[ID:%d]   [Nome:%s]   [Estrelas:%d]\n",want,pNameWanted,GetPlayerWantedLevel(want));
                            
strcat(str,InsStr);
                        }
                    }
                }
                
ShowPlayerDialog(playerid,DIALOG_PROCURADOS,DIALOG_STYLE_MSGBOX,"Procurados:",InsStr,"Ok","");
                return 
1;
            } 
Desculpe os espaзamentos , tive que transferir de pc o cуdigo via bloco de notas...



Me falem o problema por favor =X

"Se nгo for ajudar nгo atrapalha"
Reply


Messages In This Thread
Procurados no dialog - by darkxdll - 29.06.2014, 02:41
Re: Procurados no dialog - by WLSF - 29.06.2014, 02:49
Re: Procurados no dialog - by darkxdll - 29.06.2014, 02:54
Re: Procurados no dialog - by PT - 29.06.2014, 04:13
Re: Procurados no dialog - by darkxdll - 29.06.2014, 13:27
Re: Procurados no dialog - by PT - 29.06.2014, 13:45
Re: Procurados no dialog - by caoraivoso3 - 29.06.2014, 13:46
Re: Procurados no dialog - by darkxdll - 29.06.2014, 14:06

Forum Jump:


Users browsing this thread: 2 Guest(s)