SA-MP Forums Archive
Help me with a error i have - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me with a error i have (/showthread.php?tid=163460)



Help me with a error i have - FireCat - 27.07.2010

i get an error can you help me?

C:\Users\nottelling\Desktop\stunt server - Copy\gamemodes\Driftv2.pwn(836) : error 036: empty statement

and the line is

if(Vehicle == firecat);(Vehicle == firecat2);
{
if(strcmp(PlayerName,"firecat",true))
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "This car is from FIRECAT");
}
}
}
return 1;
}


if i just put if(Vehicle == firecat);
and not
if(Vehicle == firecat);(Vehicle == firecat2);
it wont come error so how can i fix the error?


[GDZ]leader




Re: Help me with a error i have - Vince - 27.07.2010

pawn Код:
if(Vehicle == firecat || Vehicle == firecat2)



Re: Help me with a error i have - FireCat - 27.07.2010

THANKSSSSSSSSSSSSSSS