X-SHADOW
Members-
Posts
721 -
Joined
-
Last visited
Everything posted by X-SHADOW
-
اوه احسبه يبي يشغله عام اذا لشخص معين مستحيل يجي بس مدري اذا يقدر يشغله على عالم وهمي ؟
-
i know solid is right and i know he want make the collision shape .. He Can Use what Alex Post .
-
حسن الفنكشن ذا يوقف المود المعين مو كل المودات ! يعني مثلأأ هاذا مثال .. addEventHandler('onResourceStart', resourceRoot, function ( uPlayer) if(getPlayerSerial(uPlayer) == '....' ) and getResourceFromName('Tactics') then startResource('Tactics') else cancelEvent( ) ---- or stopResource end end ) + اذا يبيه لشخص معين صعب ذذ
-
yes it's on SAUR Rpg Server lol ,
-
SetElementVisibleTo -- This article needs checking. -------------------------------------------------------------------------------- Reason(s): Can an element only be visible to one element (and its children) at a time? If so, do we need clearElementVisibleTo? If not, surely we need to remove the root element before using this function?
-
نعم هو صحيح صعب لآكن خله يحآول يمكن يجيبه صح ذذ + startResource - stopResource you must have acl rights so he must be admin so it will work for admins only q1
-
طلال كوده صحيح.و ياليت تتكلم عربي في هذا القسم انا ابي مود يشتغل لشخص معين عبر السريال او الحساب Functions # --------- getPlayerSerial getResourceFormName startResource stopResource ------------ # Event: -----------# onResourceStart ------------#
-
marker = createMarker (x, y, z, "checkpoint", 2, 255, 255, 255, 255 ) --- theMarker addEventHandler('onPlayerCommand', root, --- the Event function (cmd )--- cmd defined local x, y, z = getElementPosition( source ) --- get postion of source if ( cmd == 'joinevent' ) then --- if he type joinevent then giveWeapon( source, 31, 999 )-- give him M4 with 999 ammo end end )
-
getVehicleIDFormName it''s deleted form long time ago .. marker1 = createMarker (801.03125, -1354.1396484375, -1.6207337379456, "checkpoint", 3, 255, 0, 0, 255) marker2 = createMarker(-1943.86328125, 144.46484375, 25.7109375, "checkpoint", 3, 255, 0, 0, 255) marker3 = createMarker(1449.900390625, 2631.845703125, 10.8203125, "checkpoint", 3, 255, 0, 0, 255) addEvent('folosestemasina', true) addEventHandler('folosestemasina', root, function (veh) local vehName = getVehicleModelFromName (veh) local x, y, z = getElementPosition ( source ) Vehicle = createVehicle (vehName, 1724.912109375, -1957.73828125, 13.539102554321 ) warpPedIntoVehicle( source, Vehicle ) createBlipAttachedTo(marker1, 0) setElementData(marker1, 'mk1', true ) setTrainDerailable(Vehicle, false) setElementData(Vehicle, 'caine', true ) outputChatBox("**The Tour Has Been Started",source,math.random(0, 255), math.random(0, 255), math.random(0, 255),true) end ) addEventHandler('onMarkerHit', marker1, function (hitElement) if(getElementType(hitElement) == 'vehicle' ) then getElementData(marker1, 'mk1') givePlayerMoney(source, math.random (200, 600)) createBlipAttachedTo(marker2, 0) setElementData(marker2, 'mk2', true ) end end ) addEventHandler('onMarkerHit', marker2, function (hitElement) if(getElementType(hitElement) == 'vehicle' ) then getElementData(marker2, "mk2") getElementData(marker1, "mk1") givePlayerMoney(source, math.random (200, 600)) destroyElement(marker1) createBlipAttachedTo(marker3, 0) end end )
-
lol, Nice Resource Man Keep it up !
-
it's Easy to do , setTimer ( function () for index,player in pairs (getElementsByType("player")) do setPlayerNametagText(player,getPlayerName(player).."["..tostring(getPlayerWantedLevel (player)).."]") end end , 5000 , 0)
-
Marker = createMarker ( 1294.7626953125, -1379.625, 13.486034584045, "corona",1.5,90,253,70,163) addEventHandler('onMarkerHit', Marker, function (hitElement) if (getElementType(hitElement) == 'player' ) then if (getPlayerMoney(hitElement) >= 1000 ) then setPedArmor ( hitElement, 10 ) else outputChatBox ("No tienes Dinero para comprar Armor!", hitElement, 8, 224, 13 ) end end end )
-
lol , i was talking about Mr.Pres[T]ege you said why he should use table and i answer you .
-
اوه ماشفت السيرفر شفت الكلينت بس بنتظآر صاحب الموضوع للنتيجة مأتوقع بيظبط .
-
Castillo , i think he want let him make the spawn points in Table and then load the spawn with the table .
-
حسن الايفنت 'load' كيف تبيه يشتغل ؟؟ ماراح يشتغل بالطريقة ذي ~
-
وش اللي مايفتح + مدري عنك وش ذا مو عندنا ذذ
-
https://wiki.multitheftauto.com/index.ph ... /Main_Page
-
ههه كودي زبطته وارسلته له خآص كنت بقول لكم لان اكوادكم + اكوادي بالبداية ماكان فيه احضار اليوزر والباس من الايدت بس صلحته له وارسلته خاص انا احسبه يبي حفظها بملف قال لي يبي يخش تلقائي على اي حآل مآقصرت ياحسن .
-
and also i told him he can use getElementsByType !
-
addEventHandler('onVehicleEnter', root, function ( ) triggerClientEvent(source, 'Music', source) end ) addEvent('Music', true) addEventHandler('Music', root, function ( ) playSound('soundPath', true) end ) --or getElementsByType to get all players then play theSound .