Jump to content

x[ تصحيح ]x كود اعطاء سيارة


Recommended Posts

السلام عليكم و رحمة الله و بركاته

--Server side
addEventHandler('onMarkerHit',Marker,function(player)
if getElementType(player) == 'player' and not isPedInVehicle(player) and getElementData (racegate,"satus",true) then
setElementDimension(player,200)
setElementPosition(player,2362.29663,3253.14038,3958.18848)
local x, y, z = getElementPosition(player)
local RaceVehicle = createVehicle ( 411, x, y, z) 
warpPedIntoVehicle(player,RaceVehicle)
setElementCollisionsEnabled(RaceVehicle,true)
end
end
)

الكود شغال تمام بس اشوف فقط سيارتي و ما اشوف سياراتن الباقي الي دخل من نفس الماركر

 

Link to comment
  • Scripting Moderators
4 minutes ago, MR.NaiF-MTA said:

السلام عليكم و رحمة الله و بركاته


--Server side
addEventHandler('onMarkerHit',Marker,function(player)
if getElementType(player) == 'player' and not isPedInVehicle(player) and getElementData (racegate,"satus",true) then
setElementDimension(player,200)
setElementPosition(player,2362.29663,3253.14038,3958.18848)
local x, y, z = getElementPosition(player)
local RaceVehicle = createVehicle ( 411, x, y, z) 
warpPedIntoVehicle(player,RaceVehicle)
setElementCollisionsEnabled(RaceVehicle,true)
end
end
)

الكود شغال تمام بس اشوف فقط سيارتي و ما اشوف سياراتن الباقي الي دخل من نفس الماركر

 

جرب غير عالم السيارة

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...