test.pwn(248) : error 030: compound statement not closed at the end of file (started at line 234)
#2

pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(response)
        {
        SendClientMessage(playerid, COLOR_WHITE, "So your a male.");
        SetPlayerSkin(playerid, 240);
        //PlayerInfo[playerid][pGender] = 0;
        //PlayInfo[playerid][pSkin] = 240;
        }
        if(!response)
        {
        SendClientMessage(playerid, COLOR_WHITE, "So your a female.");
        SetPlayerSkin(playerid, 233);
        }
    }
    return 1;
}
Sorry for the indentation, it isn't easy inside of forum posts.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)