Dialog Kick - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog Kick (
/showthread.php?tid=460720)
Dialog Kick -
DJRebis - 29.08.2013
Hi,so basicly i don't knwo right function or why thsi ain't wokring:
Код:
if(dialogid == 3)
{
if(response)
{
SendClientMessage(playerid, 0x33AA33AA, "Thanks for Accepting");
}
else
{
SendClientMessage(playerid, 0xAA3333AA, "Need to accept the rules to play here");
Kick(playerid);
return 1;
When i click the 2nd one it doesn't kick me
Re: Dialog Kick -
Konstantinos - 29.08.2013
Is the dialog which is being displayed the correct dialogid (3)?
Re: Dialog Kick -
DJRebis - 29.08.2013
Quote:
Originally Posted by Konstantinos
Is the dialog which is being displayed the correct dialogid (3)?
|
Yes it is
Re: Dialog Kick -
SilentSoul - 29.08.2013
pawn Код:
if(dialogid == 3)
{
if(response)
{
SendClientMessage(playerid, 0x33AA33AA, "Thanks for Accepting");
}
if(!response)
{
SendClientMessage(playerid, 0xAA3333AA, "Need to accept the rules to play here");
Kick(playerid);
}
return 1;
"
Try this