Jump to content

تعديل علي كود


Ahmed Ly

Recommended Posts

السلام عليكم

اكود هدا ناقص و نبيه لا يركب في سياره الا من عصابة قوست

  
  
 local  Vehicle =   createVehicle (480,2079.07935,-1812.33899,13.38281) 
  
function car(player) 
if getElementType ( player ) == "player" and  getElementData( player ,'NameGroup') == 'GhosT' then 
----------- 
----------- 
---------- 
--------- 
 else 
outputChatBox("!!!!  ",player,255,0,0) 
end 
 end 
  

:roll::roll::?:

isPedInVehicle 

Link to comment

local  Vehicle =   createVehicle (480,2079.07935,-1812.33899,13.38281) 
setVehicleLocked (Vehicle, true )      
function car(player) 
if getElementType ( player ) == "player" and  getElementData( player ,'NameGroup') == 'GhosT' then 
setVehicleLocked (Vehicle, false ) 
 else 
outputChatBox("!!!!  ",player,255,0,0) 
end 
end 
addEventHandler ( "onVehicleStartEnter",root,car) 
Link to comment
local  Vehicle =   createVehicle (480,2079.07935,-1812.33899,13.38281) 
setVehicleLocked (Vehicle, true )      
function car(player) 
if getElementType ( player ) == "player" and  getElementData( player ,'NameGroup') == 'GhosT' then 
setVehicleLocked (Vehicle, false ) 
 else 
outputChatBox("!!!!  ",player,255,0,0) 
end 
end 
addEventHandler ( "onVehicleStartEnter",root,car) 

امنووووور والله :arrowup::arrowup::arrowup:

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