Help me
#3

Just code like this and you'll get no loose indentation warnings

pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1 && response == 1)
    {
        if(inputtext[0] == '1')
        {
            SendClientMessage(playerid,0xAA3333AA,"Hydra ispawninta");
            AddStaticVehicle(520,-2243,489,74,90,-1,-1);
        }
        else if(inputtext[0] != '1')
        {
            SendClientMessage(playerid,0xAA3333AA,"Slaptazodis blogas!");
            ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Koks slapta?odis?", "Koks slapta?odis?", "Spawn", "Atsaukti");
        }
    }
    return 0;
}
Reply


Messages In This Thread
sloved - by Mantas7776 - 24.08.2011, 12:40
Re: Help me - by =WoR=G4M3Ov3r - 24.08.2011, 13:17
Re: Help me - by dice7 - 24.08.2011, 13:25
Re: Help me - by [MNC]Azz - 24.08.2011, 13:32
Re: Help me - by Wesley221 - 24.08.2011, 13:34

Forum Jump:


Users browsing this thread: 3 Guest(s)