Jump to content

Question

Posted (edited)

C:\Users\Fabi\Desktop\Server\gamemodes\Red.pwn(234) : error 036: empty statement

PAWNO

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_KILL);
    {
    if(!response)
    {
    SetPlayerHealth(playerid, 0);
    }
    if(response)
    {
    return 0;
    }
    }
    return 1;
}

Edited by Red206

3 answers to this question

Recommended Posts

  • 0
Posted
La 11.05.2017 la 15:08, Red206 a spus:

C:\Users\Fabi\Desktop\Server\gamemodes\Red.pwn(234) : error 036: empty statement

PAWNO

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_KILL);
    {
    if(!response)
    {
    SetPlayerHealth(playerid, 0);
    }
    if(response)
    {
    return 0;
    }
    }
    return 1;
}

Trebuie sa stergi ; care sunt dupa primu if

  • 0
Posted (edited)

Salutare!
 

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_KILL)
    {
    if(!response)
    {
    SetPlayerHealth(playerid, 0);
    }
    if(response)
    {
    return 0;
    }
	}
    return 1;
} 

Incearca asa.

Edited by Джо

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.