10.08.2012, 17:04
Probably because you didn't return a value. Try this:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case KickBox :
{
if(!response)
{
SendClientMessage(playerid,COLOR_RED, "You Declined and have been kicked Goodbye!");
Kick(playerid);
}
else
{
SendClientMessage(playerid,COLOR_YELLOW, "You Accepted our rules Have fun!");
}
}
}
return 1;
}