31.10.2012, 19:18
Yeah i have , but i don't know about this ... i got fixed that , but the problem i had all the time is that , when i try to open it , nothing happends . The codes are here
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)// They pressed the first button.
{
switch(dialogid)// If you only have one dialog, then this isn't required, but it's neater for when you implement more dialogs.
{
case 500:// Our dialog!
{
switch(listitem)// Checking which listitem was selected
{
case 0:// The first item listed
{
GivePlayerWeapon(playerid,26,500);
SendClientMessage(playerid, COLOR_LIGHTRED,"You got a ShotGun Sawnoff for free");
}