OnDialogResponse - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnDialogResponse (
/showthread.php?tid=249053)
OnDialogResponse -
fissekarl - 16.04.2011
Hello I have register/Login system and I have this in my code
pawn Код:
if(!response) return Kick(playerid);
so I made this Dialog list, and if someone presses "Cancel" it will kick the player, so how can I do it?
Re: OnDialogResponse -
AK47317 - 17.04.2011
pawn Код:
if ( response ) {
//do something here
}
else {
kick ( playerid ) ;
}
try this..