mouamle Posted March 14, 2014 Author Share Posted March 14, 2014 وين أحط أحداثيات السيارة local PosX, PosY, PosZ = -- هنا ألأحداثيات local Model = --هنا ألأي دي صح local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات Link to comment
shwaeki Posted March 14, 2014 Share Posted March 14, 2014 local PosX, PosY, PosZ = 0 , 0 , 0 -- x,y,z استبدل الصفار بي local Model = --هنا ألأي دي صح local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات Link to comment
#DRAGON!FIRE Posted March 14, 2014 Share Posted March 14, 2014 وين أحط أحداثيات السيارة local PosX, PosY, PosZ = -- هنا ألأحداثيات local Model = --هنا ألأي دي صح local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات يب صحيح .. الاحداثيات بالسطر الاول فقط عدل . Link to comment
mouamle Posted March 14, 2014 Author Share Posted March 14, 2014 local PosX, PosY, PosZ = 0 , 0 , 0 -- x,y,z استبدل الصفار بي local Model = --هنا ألأي دي صح local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات أوكي وهذا local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات شو أخلي هنا Link to comment
#DRAGON!FIRE Posted March 14, 2014 Share Posted March 14, 2014 local PosX, PosY, PosZ = 0 , 0 , 0 -- x,y,z استبدل الصفار بي local Model = --هنا ألأي دي صح local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات أوكي وهذا local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات شو أخلي هنا عدل السطر الاول والثاني فقط . > ما عليك من هذا ذذ Link to comment
mouamle Posted March 14, 2014 Author Share Posted March 14, 2014 هون لا تسوي فية اشي شكرا سؤال سالث الموديل هيك أكتبو local Model = {429} Link to comment
mouamle Posted March 14, 2014 Author Share Posted March 14, 2014 لا هيك local Model = 429 مشكورين جدا جدا تعتبتو حالكم معي Link to comment
mouamle Posted March 14, 2014 Author Share Posted March 14, 2014 local PosX, PosY, PosZ = 0 , 0 , 0 -- x,y,z استبدل الصفار بي local Model = --هنا ألأي دي صح local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات أوكي وهذا local vehicle = createVehicle( Model, PosX, PosY, PosZ ) -- ولا هنا ألأحداثيات شو أخلي هنا عدل السطر الاول والثاني فقط . > ما عليك من هذا ذذ زاحف ممكن طلب ثاني أبي واحد نفسه بس على تيم مش على سيريال واسف أني تعبتك معي وشكرا Link to comment
shwaeki Posted March 14, 2014 Share Posted March 14, 2014 لو تبحث تلاقي viewtopic.php?f=160&t=67194&start=15#p630788 Link to comment
#DRAGON!FIRE Posted March 14, 2014 Share Posted March 14, 2014 لا تنسا تبدل اسم التيم . local PosX, PosY, PosZ = local Model = local TeamName = "TeamName" local vehicle = createVehicle( Model, PosX, PosY, PosZ ) addEventHandler ( "onVehicleStartEnter", root, function( player ) if ( source == vehicle ) then if ( getPlayerTeam( player ) and getPlayerTeam( player ) == getTeamFromName( TeamName ) ) then outputChatBox ( "** Welcome "..getPlayerName( player ).." To your car ^", player, 0, 255, 255, true ) else cancelEvent ( true ) outputChatBox ( "** This privately owned vehicle For "..TeamName, player, 0, 255, 255, true ) end end end ) Link to comment
mouamle Posted March 14, 2014 Author Share Posted March 14, 2014 لا تنسا تبدل اسم التيم . local PosX, PosY, PosZ = local Model = local TeamName = "TeamName" local vehicle = createVehicle( Model, PosX, PosY, PosZ ) addEventHandler ( "onVehicleStartEnter", root, function( player ) if ( source == vehicle ) then if ( getPlayerTeam( player ) and getPlayerTeam( player ) == getTeamFromName( TeamName ) ) then outputChatBox ( "** Welcome "..getPlayerName( player ).." To your car ^", player, 0, 255, 255, true ) else cancelEvent ( true ) outputChatBox ( "** This privately owned vehicle For "..TeamName, player, 0, 255, 255, true ) end end end ) شكرا أذا أبي السيارة ما تتحطم أحك هيك بس بدل car شو أحط local PosX, PosY, PosZ = 0 , 0 , 5 local Model = 429 local TeamName = "GGG" local vehicle = createVehicle( Model, PosX, PosY, PosZ ) addEventHandler ( "onVehicleStartEnter", root, function( player ) if ( source == vehicle ) then if ( getPlayerTeam( player ) and getPlayerTeam( player ) == getTeamFromName( TeamName ) ) then outputChatBox ( "** Welcome "..getPlayerName( player ).." To your car ^", player, 0, 255, 255, true ) else cancelEvent ( true ) outputChatBox ( "** This privately owned vehicle For "..TeamName, player, 0, 255, 255, true ) end end end ) setVehicleDamageProof(Bus5, true) setVehicleLocked ( CAR, false ) setElementFrozen ( CAR, false ) Link to comment
#DRAGON!FIRE Posted March 14, 2014 Share Posted March 14, 2014 local PosX, PosY, PosZ = 0 , 0 , 5 local Model = 429 local TeamName = "GGG" local vehicle = createVehicle( Model, PosX, PosY, PosZ ) setVehicleDamageProof( vehicle, true ) addEventHandler ( "onVehicleStartEnter", root, function( player ) if ( source == vehicle ) then if ( getPlayerTeam( player ) and getPlayerTeam( player ) == getTeamFromName( TeamName ) ) then outputChatBox ( "** Welcome "..getPlayerName( player ).." To your car ^", player, 0, 255, 255, true ) else cancelEvent ( true ) outputChatBox ( "** This privately owned vehicle For "..TeamName, player, 0, 255, 255, true ) end end end ) Link to comment
mouamle Posted March 14, 2014 Author Share Posted March 14, 2014 local PosX, PosY, PosZ = 0 , 0 , 5 local Model = 429 local TeamName = "GGG" local vehicle = createVehicle( Model, PosX, PosY, PosZ ) setVehicleDamageProof( vehicle, true ) addEventHandler ( "onVehicleStartEnter", root, function( player ) if ( source == vehicle ) then if ( getPlayerTeam( player ) and getPlayerTeam( player ) == getTeamFromName( TeamName ) ) then outputChatBox ( "** Welcome "..getPlayerName( player ).." To your car ^", player, 0, 255, 255, true ) else cancelEvent ( true ) outputChatBox ( "** This privately owned vehicle For "..TeamName, player, 0, 255, 255, true ) end end end ) يا أخي بديت أحبك شكرا Link to comment
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