Jump to content
  • 0

EROARE PAWNO


Red206

Question

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
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
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

Link to comment
Share on other sites

  • 0

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 Джо

 

 

Link to comment
Share on other sites

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.