ryan112 Posted January 13, 2018 Share Posted January 13, 2018 (edited) سلام عليكم شباب انا عملت بوابة تفتح بتيم بس ما تغلق لازم اخرج من تيم لتغلق هي اكواد tor_avgate = createObject(16773, 1078.0999755859, 1251.0999755859, 12.60000038147, 0 ,0,90) tor_s_avgate = "zu" addCommandHandler("kog1", function (Player ) if getPlayerTeam (Player) == getTeamFromName ("King of Ghosts") then moveObject(tor_avgate, 2500, 1078.0999755859, 1251.0999755859, 5.4000000953674) tor_s_avgate = "auf" else moveObject(tor_avgate, 2500, 1078.1999511719, 1254.6999511719, 12.60000038147) tor_s_avgate = "zu" end end) انا اريد تغتح بتيم وتغلق بتيم بكلمة وحدا Edited January 13, 2018 by ryan112 Link to comment
H25 Posted January 13, 2018 Share Posted January 13, 2018 tor_avgate = createObject(16773, 1078.0999755859, 1251.0999755859, 12.60000038147, 0 ,0,90) tor_s_avgate = "zu" addCommandHandler("kog1", function (Player ) if getPlayerTeam (Player) ~= getTeamFromName ("King of Ghosts") then return end if tor_s_avgate == "zu" then moveObject(tor_avgate, 2500, 1078.0999755859, 1251.0999755859, 5.4000000953674) tor_s_avgate = "auf" else moveObject(tor_avgate, 2500, 1078.1999511719, 1254.6999511719, 12.60000038147) tor_s_avgate = "zu" end end) 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