Jump to content

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


Recommended Posts

Posted
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 ) 

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

Posted
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 ) 

Posted
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 وحطيت سورس ؟

Posted

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

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

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

 

 

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