Bilal135 Posted February 10, 2015 Share Posted February 10, 2015 (edited) Hi guys, today I am here to present a new gamemode created by me from scratch. This is a basic gamemode, not the best, but I made it editable (uncompiled) so other people can edit as they wish, but removing credit ain't allowed at all. This gamemode consists of three teams, "Police", "Terrorists" and "President". However, when we join server, we have to type the command /police, or /terrorist or /president. President is randomly chosen among the players. I may edit and add more teams soon, maybe "Special Agency", "Medics" and "Civilians". It may take some time for releasing as these are school days, so less time to script. Maps & Scripts Progress Map Pack 1: Done Map Pack 2: Done Map Pack 3: Done Map Pack 4: Done Stay updated with the topic, and give your suggestions as well. I'm not doing this with GUI because I am a newbie in GUI scripting. Maybe later, I'll update it, but for now, it will be simple. Download: https://community.multitheftauto.com/index.php?p= ... s&id=10968 Thanks. Edited February 14, 2015 by Guest Link to comment
Bilal135 Posted February 10, 2015 Author Share Posted February 10, 2015 Map Pack 1 has successfully completed. Now working on Map Pack 2. Thanks. Link to comment
xeon17 Posted February 10, 2015 Share Posted February 10, 2015 Can you add screenshots please? the gamemode idea is pretty cool. Link to comment
Bilal135 Posted February 10, 2015 Author Share Posted February 10, 2015 Can you add screenshots please? the gamemode idea is pretty cool. Thanks. I'll upload screenshots when I get time. Link to comment
LaCosTa Posted February 10, 2015 Share Posted February 10, 2015 i loved the idea and i'm so exciding to see some screenshots Link to comment
Bilal135 Posted February 14, 2015 Author Share Posted February 14, 2015 Map Pack 2 & Map Pack 3 have been completed and gamemode has released. Video coming soon. Download: https://community.multitheftauto.com/index.php?p= ... s&id=10968 Link to comment
Bilal135 Posted February 14, 2015 Author Share Posted February 14, 2015 NOTICE: No new updates will be made, found any bug? or something else, do your self. Link to comment
Amimous Posted February 14, 2015 Share Posted February 14, 2015 bug? entire gamemode does not work, or when you turn on a black screen Link to comment
Bilal135 Posted February 14, 2015 Author Share Posted February 14, 2015 bug? entire gamemode does not work, or when you turn on a black screen Let me explain, first of all, in the console, type /stop play, then delete the meta of my gamemode, then put all the folders in the resources. Start Teams, Join Message, and any of the Map_Pack (Start 1 at a time). Join the server, type /police or /terrorist or /president. Then you'll spawn. I am also deciding to add some updates in future. Uploaded Video on Facebook: https://www.facebook.com/video.php?v=35 ... nref=story Link to comment
xeon17 Posted February 14, 2015 Share Posted February 14, 2015 The idea was cool , but your work is pretty bad and simple. And your JoinMessage resource won't work. Link to comment
LaCosTa Posted February 14, 2015 Share Posted February 14, 2015 i tested it and it works good but , it misses many things such as missions , events that will make it better Link to comment
Bilal135 Posted February 14, 2015 Author Share Posted February 14, 2015 The idea was cool , but your work is pretty bad and simple. And your JoinMessage resource won't work. It worked btw, but I added something new, read the update below. i tested it and it works good but , it misses many things such as missions , events that will make it better I strongly suggest you to read readme.txt, LaCosta ^^. Also, the mission of police is to protect president and terrorists mission is to kill the president, and president has to save his life. Updates: • Removed JoinMessage and added JoinText. [screenshot Below] • Added readme.txt in zip. Screenshot [JoinText] Link to comment
Bilal135 Posted February 14, 2015 Author Share Posted February 14, 2015 Update: • Map Pack 4 has been added. Link to comment
xeon17 Posted February 14, 2015 Share Posted February 14, 2015 The idea was cool , but your work is pretty bad and simple. And your JoinMessage resource won't work. It worked btw, but I added something new, read the update below. Not really possible ,because onPlayerJoin doesn't have parameters and source is the element who joined in the server. function onJoin(pk) outputChatBox("Welcome To President vs Terrorist Server", pk, 255, 0, 0) outputChatBox("Choose:", pk, 255, 0, 0) outputChatBox("/police - Play as Police", pk, 255, 0, 0) outputChatBox("/terrorist - Play as Terrorist", pk, 255, 0, 0) outputChatBox("/president - Play as President (Luck)", pk, 255, 0, 0) end addEventHandler("onPlayerJoin", root, onJoin) Should be ; function onJoin() outputChatBox("Welcome To President vs Terrorist Server", source, 255, 0, 0) outputChatBox("Choose:", source, 255, 0, 0) outputChatBox("/police - Play as Police", source, 255, 0, 0) outputChatBox("/terrorist - Play as Terrorist", source, 255, 0, 0) outputChatBox("/president - Play as President (Luck)", source, 255, 0, 0) end addEventHandler("onPlayerJoin", root, onJoin) Link to comment
Bilal135 Posted February 15, 2015 Author Share Posted February 15, 2015 The idea was cool , but your work is pretty bad and simple. And your JoinMessage resource won't work. It worked btw, but I added something new, read the update below. Not really possible ,because onPlayerJoin doesn't have parameters and source is the element who joined in the server. function onJoin(pk) outputChatBox("Welcome To President vs Terrorist Server", pk, 255, 0, 0) outputChatBox("Choose:", pk, 255, 0, 0) outputChatBox("/police - Play as Police", pk, 255, 0, 0) outputChatBox("/terrorist - Play as Terrorist", pk, 255, 0, 0) outputChatBox("/president - Play as President (Luck)", pk, 255, 0, 0) end addEventHandler("onPlayerJoin", root, onJoin) Should be ; function onJoin() outputChatBox("Welcome To President vs Terrorist Server", source, 255, 0, 0) outputChatBox("Choose:", source, 255, 0, 0) outputChatBox("/police - Play as Police", source, 255, 0, 0) outputChatBox("/terrorist - Play as Terrorist", source, 255, 0, 0) outputChatBox("/president - Play as President (Luck)", source, 255, 0, 0) end addEventHandler("onPlayerJoin", root, onJoin) We can define element as anything, pk, player, anything, so with pk variable, it worked for me, but it was so simple that I removed it and added JoinText which is a lot better than that. Link to comment
Et-win Posted February 15, 2015 Share Posted February 15, 2015 https://wiki.multitheftauto.com/wiki/OnPlayerJoin ParametersNo parameters. No it will be 'nil' because it doesn't exists, which means error (or everyone sees it as soon as someone joins). SourceThe source of this event is the player who joined. 'source' will work. Link to comment
Bilal135 Posted February 15, 2015 Author Share Posted February 15, 2015 Thanks for telling that, Et-win, didn't notice it ever. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now