[DUV]2 Duvidas de Dialog Box(RESOLVIDO!!!) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [DUV]2 Duvidas de Dialog Box(RESOLVIDO!!!) (
/showthread.php?tid=118571)
Re: [DUV]2 Duvidas de Dialog Box -
Guilherme_Canani - 04.01.2010
Nao, eu fiz isso e deu o mesmo erro tambem no return 0;
Re: [DUV]2 Duvidas de Dialog Box -
Sucre Pleasure - 04.01.2010
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(response)
{
if(listitem == 0)
{
GivePlayerWeapon(playerid, 24, 500);
}
if(listitem == 1)
{
GivePlayerWeapon(playerid, 29, 500);
}
if(listitem == 2)
{
GivePlayerWeapon(playerid, 31, 500);
}
if(listitem == 3)
{
GivePlayerWeapon(playerid, 17, 20);
}
if(listitem == 4)
SetPlayerHealth(playerid, 100);
}
}
return 1;
}
return 0;
}
Hoje to de bom humor, aproveita q й sу hoje.
Re: [DUV]2 Duvidas de Dialog Box -
Guilherme_Canani - 04.01.2010
Compilo... vlw mano, vo testa
Re: [DUV]2 Duvidas de Dialog Box -
[O_o]Davidovich - 04.01.2010
Quote:
Originally Posted by Guilherme_Canani
Compilo... vlw mano, vo testa 
|
Sу pra vocк perceber o seu erro.. no ultimo case vocк fechou duas vezes, e tinha esquecido de abrir ainda ^^
pawn Code:
case 4:
SetPlayerHealth(playerid, 100);
}
}
Re: [DUV]2 Duvidas de Dialog Box -
Guilherme_Canani - 04.01.2010
Quote:
Originally Posted by [O_o
Davidovich ]
Quote:
Originally Posted by Guilherme_Canani
Compilo... vlw mano, vo testa 
|
Sу pra vocк perceber o seu erro.. no ultimo case vocк fechou duas vezes, e tinha esquecido de abrir ainda ^^
pawn Code:
case 4: SetPlayerHealth(playerid, 100); } }
|
kkkkk