SA-MP Forums Archive
see this guys thanks :D - 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: see this guys thanks :D (/showthread.php?tid=547667)



see this guys thanks :D - Dezzzy - 24.11.2014

Код HTML:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>



public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/informacia", cmdtext, true, 10) == 0)
	{
	    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Informacia", "Serveris Wesebi", "Vetanxmebi", "Ar Vetanxmebi");
		return 1;
	}
	return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 1)
	{
	    if(response)
	    {
	        SendClientMessage(playerid, -1, "Shen Daetanxme Wesebs");
	    }
	    else
	    {
	        Kick(playerid)
	    }
	 }
	return 1;
}
Error :
Код HTML:
C:\Users\Gigi\Desktop\Less Global-Rр.Ru\filterscripts\aeae.pwn(30) : error 001: expected token: ";", but found "}"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
30 Line iS >>>
Код HTML:
}
IDK this is my first creation


Re: see this guys thanks :D - UltraScripter - 24.11.2014

pawn Код:
Kick(playerid);



Re: see this guys thanks :D - Dezzzy - 24.11.2014

thanks ++ rep


Re: see this guys thanks :D - UltraScripter - 24.11.2014

bo prob !.