Randomnob Posted August 27, 2013 Share Posted August 27, 2013 (edited) local marker60 = createMarker (2827.3000488281,1367.5,10,"cylinder",3,252,249,2,25) function fixcar ( thePlayer ) if getElementType ( thePlayer ) == 'player' and isPedInVehicle ( thePLayer ) then if getElementData ( thePlayer,'Group' ) == '[GHOST]' then fixVehicle ( getPedOccupiedVehicle( thePlayer ) ) outputChatBox("fixed",thePlayer,255,255,255,true) else outputChatBox("#00ff00GHOST ONLY",thePlayer,255,255,255,true) end end end addEventHandler("onMarkerHit",marker60,fixcar) ما اتشغل :@ ولمحبي الاختصارات عدلو الكود براحتكم يلي يهمني if getElementData ( thePlayer,'Group' ) == '[GROUP_NAME]' then اهم شي لاني بحدهها لقروب يعني محد يستخدمها غيره وشكرا سلفا :] Edited August 27, 2013 by Guest Link to comment
MhLoSs Posted August 27, 2013 Share Posted August 27, 2013 groupName = '[GROUP_NAME]' local marker60 = createMarker (1497.6999511719,580.5,133.30000305176,"cylinder",2,127,126,126,255) function fixcar ( thePlayer ) if getElementType ( thePlayer ) == 'player' and isPedInVehicle ( thePLayer ) then if getElementData ( thePlayer , "Group" ) == groupName then fixVehicle ( getPedOccupiedVehicle( thePlayer ) ) end end end addEventHandler("onMarkerHit",marker60,fixcar) اذا فيه خطأ يفيدونك الشباب Link to comment
Randomnob Posted August 27, 2013 Author Share Posted August 27, 2013 groupName = '[GROUP_NAME]' local marker60 = createMarker (1497.6999511719,580.5,133.30000305176,"cylinder",2,127,126,126,255) function fixcar ( thePlayer ) if getElementType ( thePlayer ) == 'player' and isPedInVehicle ( thePLayer ) then if getElementData ( thePlayer , "Group" ) == groupName then fixVehicle ( getPedOccupiedVehicle( thePlayer ) ) end end end addEventHandler("onMarkerHit",marker60,fixcar) اذا فيه خطأ يفيدونك الشباب بجرب وبرجعلك + اسف كنت حاطط الاماكن غلط بعرف اعملها بلنسبة يلي يردو ويقول انك انت الغلطان :] Link to comment
Randomnob Posted August 27, 2013 Author Share Posted August 27, 2013 groupName = '[GROUP_NAME]' local marker60 = createMarker (1497.6999511719,580.5,133.30000305176,"cylinder",2,127,126,126,255) function fixcar ( thePlayer ) if getElementType ( thePlayer ) == 'player' and isPedInVehicle ( thePLayer ) then if getElementData ( thePlayer , "Group" ) == groupName then fixVehicle ( getPedOccupiedVehicle( thePlayer ) ) end end end addEventHandler("onMarkerHit",marker60,fixcar) اذا فيه خطأ يفيدونك الشباب الكود ما ظبط Link to comment
MhLoSs Posted August 27, 2013 Share Posted August 27, 2013 انت متأكد المود القروبات حقك يقبل "Group" او "gang" Link to comment
Randomnob Posted August 27, 2013 Author Share Posted August 27, 2013 انت متأكد المود القروبات حقك يقبل "Group" او "gang" المود حق العقرب GROUP + جربت كودات تانية على القروب وشغال مثال --******************* -- By Manster .. --******************* marker = createMarker ( 2784, 1267.4000244141, 10.60000038147, "cylinder", 2, 0, 0, 0, 170 ) addEventHandler( "onMarkerHit", marker, function (player) if (getElementType(player) == ("player")) then if ( getElementData(player, "Group" ) ~= "GHOST" ) then outputChatBox("#FF0000* #FFF000Only For #FF0000 .:[GHOST]:. #FFF000Group ", player, 255, 255, 0, true) else outputChatBox("#FF0000* #FFF000Your Health And Your Armor Now 100% .", player, 255, 255, 0, true) setPedArmor (player, 100) setElementHealth (player,100) end end end ) Link to comment
MhLoSs Posted August 27, 2013 Share Posted August 27, 2013 انت متأكد المود القروبات حقك يقبل "Group" او "gang" المود حق العقرب GROUP + جربت كودات تانية على القروب وشغال مثال --******************* -- By Manster .. --******************* marker = createMarker ( 2784, 1267.4000244141, 10.60000038147, "cylinder", 2, 0, 0, 0, 170 ) addEventHandler( "onMarkerHit", marker, function (player) if (getElementType(player) == ("player")) then if ( getElementData(player, "Group" ) ~= "GHOST" ) then outputChatBox("#FF0000* #FFF000Only For #FF0000 .:[GHOST]:. #FFF000Group ", player, 255, 255, 0, true) else outputChatBox("#FF0000* #FFF000Your Health And Your Armor Now 100% .", player, 255, 255, 0, true) setPedArmor (player, 100) setElementHealth (player,100) end end end ) طيب خلاص خذ حق ماستر Link to comment
Randomnob Posted August 27, 2013 Author Share Posted August 27, 2013 انت متأكد المود القروبات حقك يقبل "Group" او "gang" المود حق العقرب GROUP + جربت كودات تانية على القروب وشغال مثال --******************* -- By Manster .. --******************* marker = createMarker ( 2784, 1267.4000244141, 10.60000038147, "cylinder", 2, 0, 0, 0, 170 ) addEventHandler( "onMarkerHit", marker, function (player) if (getElementType(player) == ("player")) then if ( getElementData(player, "Group" ) ~= "GHOST" ) then outputChatBox("#FF0000* #FFF000Only For #FF0000 .:[GHOST]:. #FFF000Group ", player, 255, 255, 0, true) else outputChatBox("#FF0000* #FFF000Your Health And Your Armor Now 100% .", player, 255, 255, 0, true) setPedArmor (player, 100) setElementHealth (player,100) end end end ) طيب خلاص خذ حق ماستر يليل ما لاحظت فرق بلكودات عطيتك مثال لكود قروب شغال لتتاكد انها قروبات كود ماستر للدم كودي يلي مو شغال لتصليح سيارة Link to comment
iPrestege Posted August 27, 2013 Share Posted August 27, 2013 تأكد من احداثياتك و اللون والـ آلفـا لآني مآني عارف وش هم local marker60 = createMarker ( 2827.3000488281,1367.5,10,"cylinder",3,252,249,2,25 ) function fixcar ( thePlayer ) if getElementType ( thePlayer ) == 'player' and isPedInVehicle ( thePLayer ) then if getElementData ( thePlayer,'Group' ) ~= '[GHOST]' then return outputChatBox( "#00ff00GHOST ONLY",thePlayer,255,255,255,true ) end fixVehicle ( getPedOccupiedVehicle( thePlayer ) ) outputChatBox( "fixed",thePlayer,255,255,255,true ) end end addEventHandler( "onMarkerHit",marker60,fixcar ) 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