[DЪVIDA] - Dialog Presos
#7

rsrsrsrs

o comando й o seguinte:

Код:
if(strcmp(cmd,"/presos2",true)==0)
    {
	    if(IsPlayerConnected(playerid))
	    {
		    if (PlayerInfo[playerid][pEmprego] != 2)
			{
			    SendClientMessage(playerid,COLOR_GREY,"Vocк nгo й um Advogado !");
			    return 1;
			}
			if(PlayerToPoint(1.5,playerid,270.0452,75.6874,1001.0391))
			{
   				for(new i = 0; i < MAX_PLAYERS; i++)
				{
		            if(PlayerInfo[i][pJailed] == 1)
				    {
				        new preso1[256];
						GetPlayerName(i, sendername, sizeof(sendername));
						format(preso1, 256, "Preso: %s - ID : [%d] - Tempo : %d Segundos\n.",sendername,i,PlayerInfo[i][pJailTime]);
						ShowPlayerDialog(playerid, 61, DIALOG_STYLE_LIST, "Presos Policia Militar",preso1, "Soltar", "Sair");
					}
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "Vocк nгo estб no icone do departamento de policia !");
			    return 1;
			}
		}
        return 1;
    }
se alguйm souber o erro porfavor me diga o certo,obrigado.
Reply


Messages In This Thread
[DЪVIDA] - Dialog Presos - by Rodrigo_Vilhena - 02.08.2010, 05:38
Re: [DЪVIDA] - Dialog Presos - by Rodrigo_Vilhena - 02.08.2010, 09:30
Re: [DЪVIDA] - Dialog Presos - by BiieL - 02.08.2010, 13:46
Re: [DЪVIDA] - Dialog Presos - by TiagoPS - 02.08.2010, 13:53
Re: [DЪVIDA] - Dialog Presos - by Rodrigo_Vilhena - 02.08.2010, 14:16
Re: [DЪVIDA] - Dialog Presos - by BiieL - 02.08.2010, 14:22
Re: [DЪVIDA] - Dialog Presos - by Rodrigo_Vilhena - 02.08.2010, 14:24
Re: [DЪVIDA] - Dialog Presos - by RoamPT - 02.08.2010, 16:31
Re: [DЪVIDA] - Dialog Presos - by sergio_xd - 02.08.2010, 18:39
Re: [DЪVIDA] - Dialog Presos - by Lukinhas_Ice - 03.08.2010, 15:10

Forum Jump:


Users browsing this thread: 2 Guest(s)