I'm making a Serious RP Gamemode, based off of CakeScript G2.
So I have two questions.
1. I can't seem to spawn any vehicles or anything at all ingame, and it gives me the message "You are not allowed to spawn anything!". I searched for this in the game mode code, and there is no where that specifies it to say this. Why does it?
2. Because I want this to be a Serious RP game mode, when I'm finished, will I be able to some how make it so that one cannot open their "Q" menu?
Thank you in advance. Jonny.
Here is the code to disable the spawn menu on a game mode. This will make the spawn menu completely unacceptable while on this game mode.
-----------------
function GM:SpawnMenuEnabled()
return false
end
function GM:SpawnMenuOpen()
return false
end
---------------------------------
Make sure to copy all Seven lines or it will not work. I hope I helped!
Thanks for this guys! I've given up on the RP gamemode, but I'm making something else, and this should come in handy :D
Sorry, you need to Log In to post a reply to this thread.