SA-MP Forums Archive
Error 029 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Error 029 (/showthread.php?tid=408351)



Error 029 - Junx - 17.01.2013

Hi, i keep on encountering error 029
I want to add objects in my filterscript.
public OnFilterScriptInit()
{
CreateObject (2191, 1805.8400, -1308.7800, 113.8200, 0.00, 0.00, -90.00);

public OnFilterScriptExit()
{
return 1;
}
if i put this in my script it gives me an error...


Re: Error 029 - TheEpicBraxton - 17.01.2013

Put it under OnGamemodeInit


Re: Error 029 - Junx - 17.01.2013

Its an filter script.
I also have a couple of teleports in it


Re: Error 029 - TheEpicBraxton - 17.01.2013

Well idk about the Teleports but my map is in a Filterscript. I put everything under
Look:
CreateObject: OnGameModeInit
RemoveBuilding: OnPlayerConnec
Just change the gamemode name to the gamemode you have.


Re: Error 029 - Diorturato - 18.01.2013

After CreateObject function close the bracket (insert "}" after this function).


Re: Error 029 - Junx - 18.01.2013

I fixed it. The problem was that i didnt move my : public OnPlayerCommandText.
I now know what a big diffrence the good placement of a freakin sentence is good for since i have been foolin around with it for more then 3 hours..