Jump to content

xX[2تعديل كود]Xx


Recommended Posts

function car ( player,vehicle ) 
if ( getElementType( player )== "player" ) then  
if ( getElementType( vehicle )== "vehicle" ) then 
outputChatBox(" Welcome in the Car " , source ) 
end 
end 
end 
addEventHandler ( "onPlayerVehicleEnter", getRootElement(), car ) 

ايه الخطأ هنا ؟

Link to comment
function car ( player ) 
if ( getElementType( player )== "player" ) then 
if ( getElementType( source )== "vehicle" ) then 
outputChatBox(" Welcome in the Car " , player ) 
end 
end 
end 
addEventHandler ( "onVehicleEnter", getRootElement(), car ) 

معلش ليه شلت Vehicle وحطيت سورس ؟

Link to comment

لأنه لو فتحت الويكي وشفت السورس حق الحدث ذا راح يقولك كذا

The source of this event is the vehicle that was entered.

يعني السورس فـ هذا الحدث هو السيارة

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