+Source|> Posted May 27, 2017 Share Posted May 27, 2017 لو سمحتم ابي ابي كودين مع نثال على كل كود الايفنت لما اللاعب يكتب كلمة بالشات ينقلة لمكان مثلا ديربي الثاني لما احد يوقف على ماركر ينقله داخل مبنى او ينقلة لاي مكان شكراا Link to comment
^iiEcoo'x_) Posted May 27, 2017 Share Posted May 27, 2017 الأكواد مطروحة بالقسم كثير , دور تلقى لا تقولي ما لقيت Link to comment
AHMED MOSTAFA Posted May 27, 2017 Share Posted May 27, 2017 4 minutes ago, A7MEDENO said: لو سمحتم ابي ابي كودين مع نثال على كل كود الايفنت لما اللاعب يكتب كلمة بالشات ينقلة لمكان مثلا ديربي الثاني لما احد يوقف على ماركر ينقله داخل مبنى او ينقلة لاي مكان شكراا "onPlayerChat" setElementPosition -- ex function Chat ( message ) if message == "نقل" then setElementPosition ( source ... ) end end addEventHandler ("onPlayerChat" ,root, Chat ) ------------------------------------ "onMarkerHit" or "onClientMarkerHit" setElementPosition -- ex marker = createMarker ( ... ) function Hit ( Player ) setElementPosition ( Player ... ) end addEventHandler ("onClientMarkerHit" ,root, Hit ) or addEventHandler ("onMarkerHit" ,root, Hit ) Link to comment
+Source|> Posted May 28, 2017 Author Share Posted May 28, 2017 59 minutes ago, Killer Project said: "onPlayerChat" setElementPosition -- ex function Chat ( message ) if message == "نقل" then setElementPosition ( source ... ) end end addEventHandler ("onPlayerChat" ,root, Chat ) ------------------------------------ "onMarkerHit" or "onClientMarkerHit" setElementPosition -- ex marker = createMarker ( ... ) function Hit ( Player ) setElementPosition ( Player ... ) end addEventHandler ("onClientMarkerHit" ,root, Hit ) or addEventHandler ("onMarkerHit" ,root, Hit ) شكرا لك Link to comment
#STZ Posted May 28, 2017 Share Posted May 28, 2017 Marker = createMarker(-2766.55078,375.58664,7.33468,"arrow",2,255,255,0,255) addEventHandler('onMarkerHit',Marker,function(player) if getElementType(player) == 'player' and not isPedInVehicle(player) and getElementData (rungate,"satus",true) then setElementPosition(player,x,y,z ) setElementInterior(player,aInteriorNumber) end end ) Link to comment
' A F . Posted May 28, 2017 Share Posted May 28, 2017 @MR.NaiF-MTA من وين جايب rungate Link to comment
#BrosS Posted May 28, 2017 Share Posted May 28, 2017 4 hours ago, Default said: @MR.NaiF-MTA من وين جايب rungate كوبي بيست Link to comment
#STZ Posted May 28, 2017 Share Posted May 28, 2017 (edited) @Default الكود حقي و هذه كانت اسم الماركر و مفروض احط عليه داتا بس انا نسيت احذفه Marker = createMarker(-2766.55078,375.58664,7.33468,"arrow",2,255,255,0,255) addEventHandler('onMarkerHit',Marker,function(player) if getElementType(player) == 'player' and not isPedInVehicle(player) then setElementPosition(player,x,y,z ) setElementInterior(player,aInteriorNumber) end end ) @A7MEDENO تفضل الكود Edited May 28, 2017 by MR.NaiF-MTA 1 Link to comment
^iiEcoo'x_) Posted May 28, 2017 Share Posted May 28, 2017 9 hours ago, #BrosS said: كوبي بيست رمضان , , وشو عرفك انه كوبي بيست ؟ 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