SA-MP Forums Archive
Error - 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: Error (/showthread.php?tid=254483)



Error - Cenation - 11.05.2011

I have created a script and its showing this error
Код:
G:\samp03csvr_win32\filterscripts\derbyshop.pwn(152) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
                    new neon = CreateObject(18649,0,0,0,0,0,0,100.0);
					new neon1 = CreateObject(18649,0,0,0,0,0,0,100.0);
					AttachObjectToVehicle(neon, GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
					AttachObjectToVehicle(neon1, GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
					SendClientMessage(playerid, COLOR_WHITE, "Green Neon Installed");
					GivePlayerMoney(playerid,-6000);
		   			else
            		{
              		SendClientMessage(playerid, COLOR_BLUE,"Sorry you Dont Have Enough Money");
            		}

    }



Re: Error - TheYoungCapone - 11.05.2011

which line is 152?


Re: Error - Cenation - 11.05.2011

else


Re: Error - Cenation - 11.05.2011

i got it... btw.. thankz for help