04.01.2010, 20:20
Nao, eu fiz isso e deu o mesmo erro tambem no return 0;
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;
}
Originally Posted by Guilherme_Canani
Compilo... vlw mano, vo testa
|
case 4:
SetPlayerHealth(playerid, 100);
}
}
Originally Posted by [O_o
Davidovich ]
Quote:
pawn Code:
|