lil Toady Posted August 30, 2007 Share Posted August 30, 2007 Can someone help me to make that script?PM me in MSN plz [email protected] what? The full code is on the first page in the topic (and on the tutorials page) Link to comment
Guest Posted August 31, 2007 Share Posted August 31, 2007 I dont know hot to make it ;( Link to comment
Guest Posted September 10, 2007 Share Posted September 10, 2007 When im thinking of a nuke there normally is a huge shockwave around the explosion so i thought of an inner radius where as ransom said everybody gets killed instantly and an outer radius where you fly about 5 meters or so backwards and you get a little life substraction to imitate this shockwave. So my question is if there is a possebility to let the players in this radius fly backwards onto their back or when this doesnt look smooth to let them simply fall to the ground. Link to comment
lil Toady Posted September 10, 2007 Share Posted September 10, 2007 When im thinking of a nuke there normally is a huge shockwave around the explosion so i thought of an inner radius where as ransom said everybody gets killed instantly and an outer radius where you fly about 5 meters or so backwards and you get a little life substraction to imitate this shockwave.So my question is if there is a possebility to let the players in this radius fly backwards onto their back or when this doesnt look smooth to let them simply fall to the ground. Yeah, that's possible Link to comment
Guest Posted September 11, 2007 Share Posted September 11, 2007 Would it be possible to make this for single player? Nuking some ballas Link to comment
AlienX Posted September 13, 2007 Share Posted September 13, 2007 Yes, with a whole lot of SCM coding. Link to comment
Guest Posted October 7, 2007 Share Posted October 7, 2007 Well I just joined and anyways can someone create a simillar mod for singleplayer with at least one superweapon? Link to comment
Bearz Posted October 25, 2007 Share Posted October 25, 2007 Well I just joined and anyways can someone create a simillar mod for singleplayer with at least one superweapon? Go ask those questions to GtaForums.. This Place is for lua.. not for scm Link to comment
Kirex Posted January 9, 2008 Share Posted January 9, 2008 I think I have missed something here... I get this: [16:12:02] WARNING: script8b.nuke.lua: Bad argument @ 'addEventHandler' - Line: 20 [16:12:02] WARNING: script8b.nuke.lua: Bad argument @ 'addEventHandler' - Line: 30 [16:12:02] WARNING: script8b.nuke.lua: Bad argument @ 'addEventHandler' - Line: 69 I can't launch the nuke when I press the G key. Same with the Ion Cannon. Maybe it's not the script, maybe it's something else, but I don't know.. I am new to both MTA SA Servers and Lua scripting... Help? Link to comment
Ransom Posted January 15, 2008 Author Share Posted January 15, 2008 The script is outdated to the current system. Mainly, event handlers go below the functions, not above them. I have yet to fix this script. The glow function will not work anymore because it must be rewritten. It spammed timer calls serverside. Timers are now protected with a minimum call time to prevent spamming like I did. This was done for obvious reasons. Sloppy coding is frowned upon. It will need to be taken care of clientSide with onClientRender, which will look much cleaner. Sorry it is not 100% functional atm. Link to comment
Recommended Posts