Scripting Posted March 31, 2012 Share Posted March 31, 2012 excuteCommandHandler don t work!! server-side: addEvent("addin",true) addEventHandler("addin",root, function() outputChatBox("Command [spawn] to add you in game",source,0,255,0,true) addCommandHandler("spawn", function (player) local ID = getElementData (player, "ID") executeCommandHandler("add", player, ID) outputChatBox("You Spawned",source,0,255,0,true) removeCommandHandler("spawn") end ) end ) Link to comment
mjau Posted March 31, 2012 Share Posted March 31, 2012 There is no command called "add" Link to comment
Scripting Posted March 31, 2012 Author Share Posted March 31, 2012 There is a command in "BaseMode" Game just fix that Link to comment
top sniper Posted March 31, 2012 Share Posted March 31, 2012 excuteCommandHandler don t work!!server-side: addEvent("addin",true) addEventHandler("addin",root, function() outputChatBox("Command [spawn] to add you in game",source,0,255,0,true) addCommandHandler("spawn", function (player) local ID = getElementData (player, "ID") executeCommandHandler("add", player, ID) outputChatBox("You Spawned",source,0,255,0,true) removeCommandHandler("spawn") end ) end ) viewtopic.php?f=91&t=41818 Link to comment
Scripting Posted March 31, 2012 Author Share Posted March 31, 2012 Wtf what s you changed??! 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