Originally posted by Richi987
Hey all, i,ve ported my project from gsc studio to gsx and i have a few bugs,
The code self suicide(); does nothing in game^^
And also the exception for fx's, if(!level.script == "mp_la") does not seems to work because when loading aftermath i get overflow error.
Hope some1 can figure out what's the problem^^.
Thanks.
Do you have a function in your menu named suicide? Because if so, that means that you named a function with the same name as a builtin, which means the game doesn't know which one to call.
"!level.script == "mp_la"" makes no sense. Use level.script != "mp_la", because !level.script == "mp_la" is the same as saying !(level.script) == "mp_la"
edit: I just finished implementing a collision detector into the next build of GSX Studio, so when that gets released you will most likely get errors for function collisions.