x1ELSHeMY Posted July 19, 2016 Posted July 19, 2016 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 ) ايه الخطأ هنا ؟
YourMind Posted July 19, 2016 Posted July 19, 2016 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 )
x1ELSHeMY Posted July 19, 2016 Author Posted July 19, 2016 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 وحطيت سورس ؟
N3xT Posted July 19, 2016 Posted July 19, 2016 لأنه لو فتحت الويكي وشفت السورس حق الحدث ذا راح يقولك كذا The source of this event is the vehicle that was entered. يعني السورس فـ هذا الحدث هو السيارة
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now