Well, this is what you could do: open your main game wdl script, and insert the following lines before the function(main). (This is just temporary fix, usually you would not put additional functions in this place)
// TEMPORARY REMOVE FUNCTION function remove() {wait(1);}
thank you very much, i have included that before function main, and there is now no script error. but there is still one slight problem, when the game loads, i can only see the side of the outside of my building and the player does not move.
Better do NOT apply the above mentioned tricks for getting rid of the error message. Rather, look for the reason of that problem.
Maybe, either you or the person whose project you're running have tampered with template scripts. When you are using the old A5 templates, make sure to use their original versions from the template folder, and not any copies or modified versions.
Otherwise there's a REMOVE keyword in your own code. Erase that and use the proper ent_remove function for removing entities.
Thank you very much for your help, i was able to fix the error and the game is now working, however, whenever i publish the game, and go to the second level i recieve an error Unsupported WMB version, when i rebuild the game, it then works on the game, but if i republish the game, the same thing happens in the published file :S