Originally posted by ODLeslie
Hello NGU!
Recently i've been working a gsc gamemode and i want to use "The Simply Perfect Project Remake" by YouViolateMe and the scripting is one of these ones:
options[m][options[m].size] = AddOption(m, "Test Opt " + options[m].size + 1, ::test);
I know how to script this kind of script which im pretty sure is the "Updated" Script so i heard.
self add_option("Example", "Example", ::Example);
When i use the First one if freeze if i was to put this in for example:
options[m][options[m].size] = AddOption(m, "Test Opt " + options[m].size + 1, ::GhostsCamo); + ( Yes i do have the "GhostCamo" Function in the script.
What im really asking is, How do i add options to "The Simply Perfect Project Remake"
Thanks in advanced
Thanks to YouViolateMe + Merk for the base.
To add a function you just do -
options[m][options[m].size] = AddOption(m, "Your Option Text", ::FunctionToCall);
That's it, I never used the base personally so not sure to much on it, but that's how it works for that base.