21.07.2012, 02:22
Tente assim:
pawn Код:
if(dialogid == akcolt)
{
if(response)
{
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 31, 99999);
return 1;
}
else if(!response) //caso ele click no segundo botгo
{
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 30, 99999);
return 1;
}
}