07.05.2011, 07:42
(
Последний раз редактировалось Ouch_Charlie; 07.05.2011 в 08:05.
Причина: Problem Solved
)
Problem Solved, Delete it please
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if (dialogid == 4)
{
if (response)
{
SendClientMessage(playerid,0x008000FF, "You accepted the rules, Make sure you follow them!");
}
else
{
SendClientMessage(playerid,0xFF0000FF, "Oh you don't agree? pwned!!");
Kick(playerid);
}
}
else if (dialogid == 1)
{
if (response)
{
SendClientMessage(playerid,0x008000FF, "You Pressed Ok");
}
else
{
SendClientMessage(playerid,0xFF0000FF, "You Closed The Commands Menu");
Kick(playerid);
}
}
return 1;
}
Because of your horrible way of indenting your code, you misplaced your braces.
pawn Код:
|