Jump to content

فكشنات ماركر


Recommended Posts

مطلوب

فكشن اذا تدش الماركر يعطيك سيارة

+

اذا تدش الماركر يعطيك سيارة ويختفي ويضهر ماركر في مكان ثاني

وذا دخل الماركر الثاني يعطيك فلوس ويختفي ويضهر الاول

:mrgreen:

Link to comment
createMarker ( markerPosX, markerPosY, markerPosZ, "cylinder", 2.5 ) 
createVehicle ( int model, float x, float y, float z [, float rx, float ry, float rz, string numberplate, bool bDirection, int variant1, int variant2 ] ) 
end 
createPed ( 252, 0, 0, 3 ) 
createVehicle ( 411, 4, 0, 3 ) 
warpPedIntoVehicle ( RacerPed, RaceVehicle ) 
end 
root = getRootElement () 
destroyElement ( root ) 
end 
function consoleGiveCash ( thePlayer, command, amount ) 
givePlayerMoney ( thePlayer, amount ) 
end 

Link to comment
createMarker ( markerPosX, markerPosY, markerPosZ, "cylinder", 2.5 ) 
createVehicle ( int model, float x, float y, float z [, float rx, float ry, float rz, string numberplate, bool bDirection, int variant1, int variant2 ] ) 
end 
createPed ( 252, 0, 0, 3 ) 
createVehicle ( 411, 4, 0, 3 ) 
warpPedIntoVehicle ( RacerPed, RaceVehicle ) 
end 
root = getRootElement () 
destroyElement ( root ) 
end 
function consoleGiveCash ( thePlayer, command, amount ) 
givePlayerMoney ( thePlayer, amount ) 
end 

o.O

Link to comment
createMarker ( float x, float y, float z , string cylinder = "checkpoint", float 1 = 4.0,255 
warpPedIntoVehicle ( ped thePed, vehicle bus, [ int seat=0 ] ) 
destroyElement ( element theplayer ) 
givePlayerMoney ( player thePlayer,1000) 

Edited by Guest
Link to comment

يا شباب حاولت شوفوا

function setupForRace ( ) 
    local RacerPed = createPed ( 252, 0, 0, 3 ) 
    local RaceVehicle = createVehicle ( 411, 4, 0, 3 )            -- create a vehicle. 
    warpPedIntoVehicle ( RacerPed, RaceVehicle )                  -- warp the ped straight into the vehicle 
end 
addCommandHandler ( "startrace", setupForRace )                   -- add a command to start race 

نسخته وجبته وش الخطأ ؟

:lol: هذي مشكلتكم

Link to comment
by 3NAD on Mon Apr 15, 2013 8:08 pm

في حآل قام عضو بـ طلب كود ..

لآ يسمح لأي عضو بـ طرح الوظائف جاهزة إلا بعد محاولة صاحب الطلب أو عجزه عن صناعة الوظيفة

-- مخالف 

تسلم :D

Link to comment
^ 100% ما فهم,,

+ ليه هو حاول عشان يعجز اصلآ ؟؟

+ برستيج , هو اصلا ناسخه من الويكي وجايبه هنآ , هذي ما تعتبر محاوله , المفروض ما تعطيه الكود -_-

ححاول اكثر من مرة = عجز

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...