MR:SADIQ Posted February 7, 2013 Posted February 7, 2013 ابغي كود 3 صور تطلع على شاشة بعد ما الاعب يسجل دخول كل صوره تيم+سلاح+مكان محدد
iPrestege Posted February 7, 2013 Posted February 7, 2013 guiCreateStaticImage guiSetVisible createTeam setPlayerTeam spawnPlayer giveWeapon setElementModel "OnClientGUIClick"
MR:SADIQ Posted February 7, 2013 Author Posted February 7, 2013 ممكن تحط الكود جاهز هدا سيرفر ولا كلنت؟
iPrestege Posted February 7, 2013 Posted February 7, 2013 guiCreateStaticImage -- كلنت guiSetVisible -- كلنت createTeam -- سيرفر setPlayerTeam -- سيرفر spawnPlayer -- سيرفر giveWeapon -- سيرفر setElementModel -- كلنت و سيرفر triggerServerEvent -- استخدم الترايقر لـ اكواد السيرفر "OnClientGUIClick" -- الايفنت يوم تضغط زر
hassan.k.s.a Posted February 7, 2013 Posted February 7, 2013 ومافيه شي جاهز سوي لنفسك http://www.h7server.allalla.com/ -- http://qs-server.tk/ -- http://tfbgaming.net
MR:SADIQ Posted February 7, 2013 Author Posted February 7, 2013 مافهمت استخدم الترايقر لـ اكواد السيرفر
iPrestege Posted February 7, 2013 Posted February 7, 2013 مافهمتاستخدم الترايقر لـ اكواد السيرفر وين اللي سويتة اطرحة ( = ؟
MR:SADIQ Posted February 7, 2013 Author Posted February 7, 2013 function gimmeATeam ( source, commandName, teamName ) local newTeam = createTeam ( teamName ) -- create a new team with the specified name if newTeam then -- if it was successfully created setPlayerTeam ( source, newTeam ) -- add the player to the new team end end addCommandHandler("giveteam", gimmeATeam) function assignNewTeam ( source, commandName, teamName ) local theTeam = createTeam ( teamName ) -- create a new team with the specified name if theTeam then -- if it was successfully created setPlayerTeam ( source, theTeam ) -- add the player to the new team end end addCommandHandler ( "gimmeateam", assignNewTeam ) function unassignTeam ( source, commandName ) local theTeam = getPlayerTeam ( source ) -- Check if the player is on a team if theTeam then -- this player is on a team, so we can remove them from it setPlayerTeam ( source, nil ) -- remove the player from the current team end end addCommandHandler ( "takeawaymyteam", unassignTeam ) -- Get a table of all the players players = getElementsByType ( "player" ) -- Go through every player for playerKey, playerValue in ipairs(players) do -- Spawn them at the desired coordinates spawnPlayer ( playerValue, 0.0, 0.0, 5.0, 90.0, 0 ) end
#Al-Ha[J]aRii Posted February 8, 2013 Posted February 8, 2013 (edited) function gimmeATeam ( source, commandName, teamName ) local newTeam = createTeam ( teamName ) -- create a new team with the specified name if newTeam then -- if it was successfully created setPlayerTeam ( source, newTeam ) -- add the player to the new team end end addCommandHandler("giveteam", gimmeATeam) function assignNewTeam ( source, commandName, teamName ) local theTeam = createTeam ( teamName ) -- create a new team with the specified name if theTeam then -- if it was successfully created setPlayerTeam ( source, theTeam ) -- add the player to the new team end end addCommandHandler ( "gimmeateam", assignNewTeam ) function unassignTeam ( source, commandName ) local theTeam = getPlayerTeam ( source ) -- Check if the player is on a team if theTeam then -- this player is on a team, so we can remove them from it setPlayerTeam ( source, nil ) -- remove the player from the current team end end addCommandHandler ( "takeawaymyteam", unassignTeam ) -- Get a table of all the players players = getElementsByType ( "player" ) -- Go through every player for playerKey, playerValue in ipairs(players) do -- Spawn them at the desired coordinates spawnPlayer ( playerValue, 0.0, 0.0, 5.0, 90.0, 0 ) end ويش مسوي هذه مو كود امثله من الويكي Edited February 8, 2013 by Guest Try a little harder to be a little better I Can Made To You Any Script For $ Skype : alhajarii-mtasa
iMr.Dawix~# Posted February 8, 2013 Posted February 8, 2013 طيب سو للكود ع الأقل --code My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
#Al-Ha[J]aRii Posted February 8, 2013 Posted February 8, 2013 ابغي كود 3 صور تطلع على شاشة بعد ما الاعب يسجل دخولكل صوره تيم+سلاح+مكان محدد مو مجرب ----------- Server Side ! addEventHandler("onResourceStart", resourceRoot, start) spawnPlayer ( playerValue, x, y, z,0,skinID ) ---- x y z الاحداثيات ---- skinID رقم الشخصيه createTeam("a") addEvent ( "OnClientGUIClick", true ) addEventHandler ( "OnClientGUIClick", getRootElement(),createTeam ) function start() setPlayerTeam(getRandomPlayer(), a) triggerServerEvent ( "setPlayerTeam", getLocalPlayer() ) end function giveWeaponsOnSpawn () giveWeapon ( source, 31, 200 ) 31 = ID Weapon - 200 Amount end setElementModel ( createTeam, setPlayerTeam, spawnPlayer, giveWeapon ) addEventHandler("onResourceStart", resourceRoot, function() setTimer(start, 50, 1) end ) ------ Client Side ! function showClientImage() guiCreateStaticImage( "Name.png", true ) ---- Name اسم الصورة guiSetVisible ( Name, true ) --------Name اسم الصورة end Try a little harder to be a little better I Can Made To You Any Script For $ Skype : alhajarii-mtasa
iPrestege Posted February 8, 2013 Posted February 8, 2013 ابغي كود 3 صور تطلع على شاشة بعد ما الاعب يسجل دخولكل صوره تيم+سلاح+مكان محدد مو مجرب ----------- Server Side ! addEventHandler("onResourceStart", resourceRoot, start) spawnPlayer ( playerValue, x, y, z,0,skinID ) ---- x y z الاحداثيات ---- skinID رقم الشخصيه createTeam("a") addEvent ( "OnClientGUIClick", true ) addEventHandler ( "OnClientGUIClick", getRootElement(),createTeam ) function start() setPlayerTeam(getRandomPlayer(), a) triggerServerEvent ( "setPlayerTeam", getLocalPlayer() ) end function giveWeaponsOnSpawn () giveWeapon ( source, 31, 200 ) 31 = ID Weapon - 200 Amount end setElementModel ( createTeam, setPlayerTeam, spawnPlayer, giveWeapon ) addEventHandler("onResourceStart", resourceRoot, function() setTimer(start, 50, 1) end ) ------ Client Side ! function showClientImage() guiCreateStaticImage( "Name.png", true ) ---- Name اسم الصورة guiSetVisible ( Name, true ) --------Name اسم الصورة end OnClientGUIClick setPlayerTeam onResourceStart
#Al-Ha[J]aRii Posted February 8, 2013 Posted February 8, 2013 ابغي كود 3 صور تطلع على شاشة بعد ما الاعب يسجل دخولكل صوره تيم+سلاح+مكان محدد مو مجرب ----------- Server Side ! addEventHandler("onResourceStart", resourceRoot, start) spawnPlayer ( playerValue, x, y, z,0,skinID ) ---- x y z الاحداثيات ---- skinID رقم الشخصيه createTeam("a") addEvent ( "OnClientGUIClick", true ) addEventHandler ( "OnClientGUIClick", getRootElement(),createTeam ) function start() setPlayerTeam(getRandomPlayer(), a) triggerServerEvent ( "setPlayerTeam", getLocalPlayer() ) end function giveWeaponsOnSpawn () giveWeapon ( source, 31, 200 ) 31 = ID Weapon - 200 Amount end setElementModel ( createTeam, setPlayerTeam, spawnPlayer, giveWeapon ) addEventHandler("onResourceStart", resourceRoot, function() setTimer(start, 50, 1) end ) ------ Client Side ! function showClientImage() guiCreateStaticImage( "Name.png", true ) ---- Name اسم الصورة guiSetVisible ( Name, true ) --------Name اسم الصورة end OnClientGUIClick setPlayerTeam onResourceStart نسيت Try a little harder to be a little better I Can Made To You Any Script For $ Skype : alhajarii-mtasa
hassan.k.s.a Posted February 8, 2013 Posted February 8, 2013 اذا تبيه بـ مبلغ تعال خاص هع http://www.h7server.allalla.com/ -- http://qs-server.tk/ -- http://tfbgaming.net
iMr.Dawix~# Posted February 8, 2013 Posted February 8, 2013 اتوقع كذا IMG = guiCreateStaticImage(0.8262, 0.2604, 0.1221, 0.1536, "logo.png", true)--logo.pngاسم الصورة الأولى setTimer ( guiStaticImageLoadImage, 10000, 1, IMG, "xda.png" )--xda.pngاسم الصورة الثانيه !! يستبدل الصورة الأولى بالثانيه My E-mails: [ [email protected] ],[ [email protected] ],[ [email protected] ] " Manners Maketh Man " " الأخلاق تصنع الرجل " ░░░░░███████ ]▄▄▄▄▄▄▄▄ BooM ! ▂▄▅█████████▅▄▃▂ ███████████████████]. ◥⊙▲⊙▲⊙▲⊙▲⊙▲⊙▲⊙◤
Bhrany-danger Posted February 8, 2013 Posted February 8, 2013 مابتلاقي احد يسوي ليك بدون مقابل "-_- الا في مواضيع بنفس الطلب والاكواد موجودة بالمنتدى وجاهزة بس لانه بكل مواضيعه يريد الكود جاهز ما بساعده
MR:SADIQ Posted February 9, 2013 Author Posted February 9, 2013 اذا تبيه بـ مبلغ تعال خاص هع عطني ايميلك ماعرف للخاص توي جديد
MR:SADIQ Posted February 9, 2013 Author Posted February 9, 2013 خدامين عندكك احنا ممكن الكود جاهز انا قلت ممكن ماقلت حطه غصب ومحد جابرنك تحطه
TD[M]ER Posted February 9, 2013 Posted February 9, 2013 "OnClientGUIClick" -- الايفنت يوم تضغط زر "OnClientGUIClick" = "onClientGUIClick" visit server x[ Q.5 ]x Drift & zombies & war we have a chance for change ... let's try something new =D
TD[M]ER Posted February 9, 2013 Posted February 9, 2013 اذا تبيه بـ مبلغ تعال خاص هع عطني ايميلك ماعرف للخاص توي جديد ucp.php?i=pm&mode=compose&u=63734 visit server x[ Q.5 ]x Drift & zombies & war we have a chance for change ... let's try something new =D
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