Post: Little bugs with GSX Studio
08-26-2018, 03:52 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); 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.
08-27-2018, 11:35 AM #2
anthonything
Space Ninja
Originally posted by Richi987 View Post
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.
Last edited by anthonything ; 08-27-2018 at 12:50 PM.

The following user thanked anthonything for this useful post:

Richi987
08-28-2018, 10:34 AM #3
Okay, I got it Thanks Man.
Also great work for making GSX Studio!

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo