zen13 Posted February 25, 2014 Share Posted February 25, 2014 how to set World in setElementPosition ( player, 2488, -1670, 14 ) sorry not bad englist function tele1 (player) local accountname = getAccountName(getPlayerAccount(player)) if ( hasObjectPermissionTo ( player, "command.mute", true ) ) then setElementPosition ( player, 2488, -1670, 14 ) end end addCommandHandler ( "cj", tele1 ) function command (source) end addCommandHandler ( "teles", command ) Link to comment
Anubhav Posted February 25, 2014 Share Posted February 25, 2014 Use setElementDimension . Link to comment
zen13 Posted February 25, 2014 Author Share Posted February 25, 2014 Use setElementDimension . function tele1 (player) local accountname = getAccountName(getPlayerAccount(player)) if ( hasObjectPermissionTo ( player, "command.mute", true ) ) then setElementPosition ( player, 2488, -1670, 14 ) [b]Use setElementDimension(player,1) [/b] ?? end end addCommandHandler ( "cj", tele1 ) function command (source) end addCommandHandler ( "teles", command ) Link to comment
Anubhav Posted February 25, 2014 Share Posted February 25, 2014 function tele1 (player) local accountname = getAccountName(getPlayerAccount(player)) if ( hasObjectPermissionTo ( player, "command.mute", true ) ) then setElementPosition ( player, 2488, -1670, 14 ) setElementDimension(player,1) end end addCommandHandler ( "cj", tele1 ) function command (source) end addCommandHandler ( "teles", command ) 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