-
Posts
698 -
Joined
-
Last visited
Everything posted by Sora
-
thanks for reply i'll try hard to make it .. honestly i thought that it is so hard from the beginning
-
thanks but , it's complex somehow to edit the race gamemode and making it play the map for chosen player(s)
-
yea , but i mean when you start map it's will spawn all players into this map so .. the question is click here and read carefully
-
hi .. i wanted to create multiple gamemodes on one server but i'm confused with mapmanager i'm planning to edit the race gamemode .. to be played for some players the players who wrote /race for example i just want to know is it possible to let the race map be played for a chosen player or players and not for all and if it does , how to do that , what should i edit ? ^^
-
addCommandHandler("gsb", function (NoOb) if isPedInVehicle (NoOb) then local NoObCar = getPedOccupiedVehicle(NoOb) createBlipAttachedTo(NoObCar,55) else outputChatBox("* You should be inside the vehicle",NoOb,255,0,0,true) end end)
-
getPedOccupiedVehicle createBlipAttachedTo
-
https://wiki.multitheftauto.com/wiki/TextCreateTextItem
-
local pArea = createRadarArea( 2130, 630, 200, 100, 0, 255, 0, 175 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 30 ) setElementData(pCuboid,'TurfFor','none') addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid ) then if(getElementData(pCuboid,'TurfFor')==getTeamName(getPlayerTeam(p)))then return end setRadarAreaFlashing( pArea, true ) local pTeam = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR, iG, iB = getTeamColor( pTeam ) timer = setTimer( function() setRadarAreaColor (pArea, iR, iG, iB, 100); givePlayerMoney( p, 5000 ); setElementData(pCuboid,"TurfFor",getTeamName(getPlayerTeam(p))) outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea, false ) end, 10000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end) addEventHandler('onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) killTimer ( timer ) end end end)
-
give them feedback [email protected]
-
نفس الفريق يحتل مرتين انا صلحت الخطأ الي فوق .. بس خاش عرض.. لول خلاص مجنون فيك جاء
-
local pArea = createRadarArea( 2130, 630, 200, 100, 0, 255, 0, 175 ) local pCuboid = createColCuboid( 2133.1950683594, 633.66455078125, 10, 197.5, 92, 30 ) setElementData(pCuboid,'TurfFor','none') addEventHandler( 'onColShapeHit', root, function( p ) -- you should have added player param here if (getPlayerTeam( p )) then if( source == pCuboid ) then if(getElementData(pCuboid,'TurfFor')==getTeamName(getPlayerTeam(p)))then return end setRadarAreaFlashing( pArea, true ) local pTeam = getPlayerTeam( p ) -- source is the col shape, you should use 'p', the player arg local iR, iG, iB = getTeamColor( pTeam ) setTimer( function() setRadarAreaColor (pArea, iR, iG, iB, 100); givePlayerMoney( p, 5000 ); setElementData(pCuboid,"turfFor",getTeamName(getPlayerTeam(p))) outputChatBox( "Congratulations, #FFFF00 you have taken the turf!", p, 0, 255, 0, true ); setRadarAreaFlashing( pArea, false ) end, 10000, 1 ) end else outputChatBox("Get in a group first!",p, 255, 0, 0) end end ) addEventHandler( 'onColShapeLeave', root, function( ) if( source == pCuboid ) then setRadarAreaFlashing( pArea, false ) end end )
-
يسلمؤ ع النصيحه ^^ بس احب اخلي السكربتات الي بعملها open-source
-
https://community.multitheftauto.com/ind ... ls&id=6097 https://community.multitheftauto.com/ind ... ls&id=6096 https://community.multitheftauto.com/ind ... ls&id=6093 Stolen ( or re-uploaded with changing copyrights ) DONE
-
يب داري بس هو يعمل الملف اول ماتشغل سكربت من السكربتات الي عندك بالسيرفر ويضيفه للملف ^^
-
أها يسلمؤؤ انا لاحظت الترتيب تغير واضفت هاذي else xmlCreateFile("resources.xml","resources") همسة :انا ماهتم بتنظيم الكود اذا سويت سكربت خخخخـ
-
يمكن يفيدك viewtopic.php?f=148&t=45737
-
منؤر الموضوع ^^
-
منورين الموضوع تيتي انا حطيت الكتابه بالشات اول شيء عشان اجرب السكربت ^^
-
مرورك احلى ^^
-
الحمدلله اعجبكم وانشاء الله ينفعكم ^^
-
^ عذراً حمآس زآيدد زي مآقآل سعد ينطبق على الserver side وبس