SA-MP Forums Archive
Help with error in script ! - 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: Help with error in script ! (/showthread.php?tid=447313)



Help with error in script ! - Maskhz - 29.06.2013

Hey guys , I have an error that I really don't know how to fix.

Here it is :

The error here is a tag mismatch at this line :
Quote:

if (!Braquage == 0)

Quote:

if (!Braquage == 0)
{
SendClientMessage(playerid, COLOR_RED, "Le braquage est dйjа autorisй");
}
Braquage = 0; print("Braque a 0 !");
SendClientMessageToAll(COLOR_RED, "Le braquage est autorisй");
return 1;

Thank you for your help !


Re: Help with error in script ! - Jstylezzz - 29.06.2013

do
pawn Код:
if (Braquage != 0)
If you do == (something), you don't need to do something in front it.


Re: Help with error in script ! - Maskhz - 29.06.2013

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
do
pawn Код:
if (Braquage != 0)
If you do == (something), you don't need to do something in front it.
Thanks a lot !