SA-MP Forums Archive
Need Help - 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: Need Help (/showthread.php?tid=633675)



Need Help - Lamy - 05.05.2017

Hello.
I Need Help For Making My Server.
-I Need To Make /rules Command When Player Click Disagree He Will Get Kick.
-I Need Help In Making Classe Selection With A Dialog Not The Official One.
Please Help Me.


Re: Need Help - Astralis - 05.05.2017

I think you could implement that from other scripts.


Re: Need Help - Lamy - 05.05.2017

I Cannot Find The Class Selection With Dialog. Can one Help Me.


Re: Need Help - edyun - 06.05.2017

1 Request -
Quote:

public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid,1234,DIALOG_STYLE_MSGBOX ,"Rules","Rule NO.1 - Do not spam.\nRule NO.2 - Do not flame.","Accept","Decline");
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case 1234:
{
if(response)
{
return 1;
}
else
{
Kick(playerid);
}
}
}
}




Re: Need Help - Lamy - 06.05.2017

I Find That Buit I Need Now Class Selection