Invalid Expression[REPPING] - 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: Invalid Expression[REPPING] (
/showthread.php?tid=375709)
Invalid Expression[REPPING] -
Strech - 07.09.2012
I get
pawn Код:
error 029: invalid expression, assumed zero
My line is
pawn Код:
else SendClientMessage(playerid, COLOR_GREY, "You need to be closer/near a gate to open her.");
return 1;
}
I don't see anything wrong here but i receive error.
Re: Invalid Expression[REPPING] -
ddnbb - 07.09.2012
Quote:
Originally Posted by Strech
I get
pawn Код:
error 029: invalid expression, assumed zero
My line is
pawn Код:
else SendClientMessage(playerid, COLOR_GREY, "You need to be closer/near a gate to open her."); return 1; }
I don't see anything wrong here but i receive error.
|
Here you go:
pawn Код:
else return SendClientMessage(playerid, COLOR_GREY, "You need to be closer/near a gate to open her.");
return 1;
}
Re: Invalid Expression[REPPING] -
jameskmonger - 08.09.2012
pawn Код:
else { SendClientMessage(playerid, COLOR_GREY, "You need to be closer/near a gate to open her.");
return 1;
}
It would help if you provided the full code block, so don't be shocked or upset if the above solution is wrong.
Re: Invalid Expression[REPPING] -
vIBIENNYx - 08.09.2012
You could just
pawn Код:
else return SendClientMessage(playerid, COLOR_GREY, "You need to be closer/near a gate to open her.");