#MostafaSaadi Posted February 20, 2015 Share Posted February 20, 2015 -- Define our function that will handle this command function consoleCreateMarker ( playerSource ) -- If a player triggered it (rather than the admin) then if ( playerSource ) then -- Get that player's position local x, y, z = getElementPosition ( playerSource ) -- Create a size 2, red checkpoint marker at their position createMarker ( x, y, z, "checkpoint", 2, 255, 0, 0, 255 ) -- Output it in his chat box outputChatBox ( "You got a red marker", playerSource ) end end -- Attach the 'consoleCreateMarker' function to the "createmarker" command addCommandHandler ( "createmarker", consoleCreateMarker ) ماركر ما يجي ليش ؟ Link to comment
nxFairlywell Posted February 20, 2015 Share Posted February 20, 2015 ذا كود من الويكي LooL ^ Link to comment
#MostafaSaadi Posted February 20, 2015 Author Share Posted February 20, 2015 مهم كود نبي تصليح Link to comment
Professional Posted February 20, 2015 Share Posted February 20, 2015 ههههههههههههههههههههههه كيف تبي تصليح وناقله نقل من الويكي Link to comment
Professional Posted February 20, 2015 Share Posted February 20, 2015 لو كيف تقول كان ما فيه سيطره على الاكواد في اللعبه وتلاقي كل سيرفر داخله 500 واحد Link to comment
#MostafaSaadi Posted February 20, 2015 Author Share Posted February 20, 2015 ههههههههههههههههههههههه كيف تبي تصليح وناقله نقل من الويكي صلحه لي يالغالي انا محتاج محترفين مثلك Link to comment
Professional Posted February 20, 2015 Share Posted February 20, 2015 قلي شو تبي بل كود شو قصدك يعني ؟ Link to comment
#MostafaSaadi Posted February 20, 2015 Author Share Posted February 20, 2015 يعني لو كتبت mark يسوي لي ماركر بمكان معين 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