Scorpio Posted May 28, 2013 Share Posted May 28, 2013 ابي كود الي هو مهمة ماركر يطلع في احدثيات مختلفة كل 5 دقائق يشتغل تلقائي وفي فوق الماركر صورة والي يوقف فوق الماركر يكسب مثلاً 50000 وكود شخصيتن معهم سلاح الخلاط لو احد دخل ماركر الشخصيتن تتحرك وتقتلهم بالخلاط ولكن ما تقتل جروب الأدمن Link to comment
iPrestege Posted May 29, 2013 Share Posted May 29, 2013 dxDrawImage3D dxDrawMaterialLine3D dxCreateTexture createMarker onClientRender setTimer math.random table unpack Link to comment
Scorpio Posted May 29, 2013 Author Share Posted May 29, 2013 dxDrawImage3DdxDrawMaterialLine3D dxCreateTexture createMarker onClientRender setTimer math.random table unpack معلش وش المساعدات حجت الشخصية الي تهاجم والمساعدات حجت المهمة حجت الماركر؟ Link to comment
iPrestege Posted May 29, 2013 Share Posted May 29, 2013 هذي للماركر اللي فوق انت عدلت و كتبت شخصية بعد مارديت ذذ : هنا البيد يطلق : Ped Fire Link to comment
Scorpio Posted May 29, 2013 Author Share Posted May 29, 2013 هذي للماركر اللي فوقانت عدلت و كتبت شخصية بعد مارديت ذذ : هنا البيد يطلق : Ped Fire هذولا حجت المارك الي حجت المهمة dxDrawImage3D dxDrawMaterialLine3D dxCreateTexture createMarker onClientRender setTimer math.random table unpack وذيه Ped Fire حجت الشخصية الي تهاجم الي مو ادمن؟ Link to comment
iPrestege Posted May 29, 2013 Share Posted May 29, 2013 Ped Fire اضغط علية موضوع افتحة فية الاكواد باقي تعدله بس ذذ Link to comment
Scorpio Posted May 29, 2013 Author Share Posted May 29, 2013 Ped Fire اضغط علية موضوع افتحة فية الاكواد باقي تعدله بس ذذ -- Server Side thePositions = { { 1514.3770751953, -1677.8481445313, 14.046875 }, { 1515.3770751953, -1677.8481445313, 14.046875 }, { 1516.3770751953, -1677.8481445313, 14.046875 }, { 1517.3770751953, -1677.8481445313, 14.046875 }, } local accName = getAccountName (getPlayerAccount(thePlayer)) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for _, AllPositions in ipairs ( thePositions ) do createPed ( 300, AllPositions [1], AllPositions [2], AllPositions [3] ) createMarker ( AllPositions [1], AllPositions [2], AllPositions [3] - 1, "cylinder", 5, 0, 0, 0, 0 ) for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do setPedStat ( thePeds, 77, 999 ) setPedWeaponSlot ( thePeds, 3 ) setTimer ( giveWeapon, 3000, 0, thePeds, 25, 9999, true ) end end addEventHandler ( "onMarkerHit", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == theTeam then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "setPedAttacking", thePlayer, thePeds ) end if isPedInVehicle ( thePlayer ) then destroyElement ( getPedOccupiedVehicle ( thePlayer ) ) end end end end ) addEventHandler ( "onMarkerLeave", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == theTeam then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePeds ) setTimer ( giveWeapon, 500, 1, thePeds, 25, 9999, true ) end end end end ) ما تظهر الشخصيات Link to comment
iPrestege Posted May 29, 2013 Share Posted May 29, 2013 سآعدني و وضح نقطة الخطأ بـ حيث اعرفها بـ سرعه ذذ debugscript 3 -- command helper . Link to comment
jafar Posted May 29, 2013 Share Posted May 29, 2013 Ped Fire اضغط علية موضوع افتحة فية الاكواد باقي تعدله بس ذذ -- Server Side thePositions = { { 1514.3770751953, -1677.8481445313, 14.046875 }, { 1515.3770751953, -1677.8481445313, 14.046875 }, { 1516.3770751953, -1677.8481445313, 14.046875 }, { 1517.3770751953, -1677.8481445313, 14.046875 }, } local accName = getAccountName (getPlayerAccount(thePlayer)) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for _, AllPositions in ipairs ( thePositions ) do createPed ( 300, AllPositions [1], AllPositions [2], AllPositions [3] ) createMarker ( AllPositions [1], AllPositions [2], AllPositions [3] - 1, "cylinder", 5, 0, 0, 0, 0 ) for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do setPedStat ( thePeds, 77, 999 ) setPedWeaponSlot ( thePeds, 3 ) setTimer ( giveWeapon, 3000, 0, thePeds, 25, 9999, true ) end end addEventHandler ( "onMarkerHit", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == theTeam then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "setPedAttacking", thePlayer, thePeds ) end if isPedInVehicle ( thePlayer ) then destroyElement ( getPedOccupiedVehicle ( thePlayer ) ) end end end end ) addEventHandler ( "onMarkerLeave", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == theTeam then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePeds ) setTimer ( giveWeapon, 500, 1, thePeds, 25, 9999, true ) end end end end ) ما تظهر الشخصيات كوبي بست ؟ .. Link to comment
#Al-Ha[J]aRii Posted May 29, 2013 Share Posted May 29, 2013 Ped Fire اضغط علية موضوع افتحة فية الاكواد باقي تعدله بس ذذ -- Server Side thePositions = { { 1514.3770751953, -1677.8481445313, 14.046875 }, { 1515.3770751953, -1677.8481445313, 14.046875 }, { 1516.3770751953, -1677.8481445313, 14.046875 }, { 1517.3770751953, -1677.8481445313, 14.046875 }, } local accName = getAccountName (getPlayerAccount(thePlayer)) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then for _, AllPositions in ipairs ( thePositions ) do createPed ( 300, AllPositions [1], AllPositions [2], AllPositions [3] ) createMarker ( AllPositions [1], AllPositions [2], AllPositions [3] - 1, "cylinder", 5, 0, 0, 0, 0 ) for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do setPedStat ( thePeds, 77, 999 ) setPedWeaponSlot ( thePeds, 3 ) setTimer ( giveWeapon, 3000, 0, thePeds, 25, 9999, true ) end end addEventHandler ( "onMarkerHit", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == theTeam then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "setPedAttacking", thePlayer, thePeds ) end if isPedInVehicle ( thePlayer ) then destroyElement ( getPedOccupiedVehicle ( thePlayer ) ) end end end end ) addEventHandler ( "onMarkerLeave", getResourceRootElement ( getThisResource ( ) ), function ( thePlayer ) if getElementType ( thePlayer ) == "player" then if getPlayerTeam ( thePlayer ) == theTeam then for _, thePeds in ipairs ( getElementsByType ( "ped", getResourceRootElement ( getThisResource() ) ) ) do triggerClientEvent ( thePlayer, "setPedStanding", thePlayer, thePeds ) setTimer ( giveWeapon, 500, 1, thePeds, 25, 9999, true ) end end end end ) ما تظهر الشخصيات في ملف كلنت لان فيه ترايقر للكلنت + viewtopic.php?f=119&t=49814&start=45 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