Pozdrav svima!
Nov sam u skriptanju pa mi treba pomoc oko errora.
Pokusao sam da napravim jednu komandu a iskace mi ovaj error:
compound statement not closed at the end of file (started at line 230)
a komanda:
CMD:Test(playerid, params[])
{
new response, x, y, z, rot, listitem;
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Vozila", "1.Infernus\2n.Sentinel", "Izaberi", "Otkazi");
{
if(response)
{
GetPlayerPos(playerid, Float:x, Float:y,Float:z);
GetPlayerFacingAngle(playerid, Float:rot);
if(listitem == 1) return CreateVehicle(411, Float:x+1, Float:y+1, Float:z, Float:rot, 0, 0, 10, 0);
return true;
}
}
linija 230:
new response, x, y, z, rot, listitem;
hvala unapred :D