Could someone please help me with this?
#1

Im trying to create a box that pops up with my server rules that has 2 buttons on it, "Accept" and "Deny"
Now i got the box to pop up yet when i click on "Deny" to test it, it still lets me spawn..

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(listitem == 1)
SendClientMessage(playerid,COLOR_WHITE,"Thank you for agreeing.");
}
if(listitem == 0)
Kick(playerid);
}
return 0;
}

What am i doing wrong?

Thanks to anyone that can help.
Reply


Messages In This Thread
Could someone please help me with this? - by chaosnz - 14.09.2009, 06:50
Re: Could someone please help me with this? - by V1ceC1ty - 14.09.2009, 08:25
Re: Could someone please help me with this? - by Gappy - 14.09.2009, 08:25
Re: Could someone please help me with this? - by woot - 14.09.2009, 08:54
Re: Could someone please help me with this? - by chaosnz - 14.09.2009, 09:12
Re: Could someone please help me with this? - by (.Aztec); - 14.09.2009, 17:51
Re: Could someone please help me with this? - by G_ROW_Chez - 14.09.2009, 18:04
Re: Could someone please help me with this? - by FUNExtreme - 14.09.2009, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)