Posts: 11
Threads: 4
Joined: Jan 2013
Reputation:
0
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...
Posts: 112
Threads: 28
Joined: Dec 2012
Reputation:
0
Put it under OnGamemodeInit
Posts: 11
Threads: 4
Joined: Jan 2013
Reputation:
0
Its an filter script.
I also have a couple of teleports in it
Posts: 112
Threads: 28
Joined: Dec 2012
Reputation:
0
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.
Posts: 104
Threads: 4
Joined: Dec 2012
Reputation:
0
After CreateObject function close the bracket (insert "}" after this function).
Posts: 11
Threads: 4
Joined: Jan 2013
Reputation:
0
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..