d43dr4 Posted December 6, 2012 Share Posted December 6, 2012 (edited) السلام عليكم ورحمة الله تعالى و بركاته ابي اطلب كود وهو يعني يسوي ماركر و لما تدخل للمنطقة اللي بها الماركر يتغير الجو و الوقت لهنتو يعني ممكن تسوون الوقت 21:00 16 (Dull, Cloudy, Rainy) : اما الجو اذا ممكن تسوون الكود و انا اعدل على حجم الماركر و الاحداثيات شكرا Edited December 6, 2012 by Guest Link to comment
AhmadQTR Posted December 6, 2012 Share Posted December 6, 2012 function TIME () createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) setTime (21, 00) setWeather (16) end addEventHandler ( "onMarkerHit", root, TIME ) Link to comment
KinG_DrifT Posted December 6, 2012 Share Posted December 6, 2012 local marker = createMarker( 0, 0, 0, 'arrow', 1.5, 255, 0, 0, 0 ) function marker( hitPlayer, matchingDimension ) setTime (21, 00) setWeather (16) end addEventHandler( "onMarkerHit", marker, marker ) Link to comment
d43dr4 Posted December 6, 2012 Author Share Posted December 6, 2012 سويته كلينت و ما زبط Link to comment
AhmadQTR Posted December 6, 2012 Share Posted December 6, 2012 سويته كلينت و ما زبط حطه سيرفر مب كلنت اذا كلنت غير addEventHandler ( "onMarkerHit", root, TIME ) الى addEventHandler ( "onClientMarkerHit", root, TIME ) Link to comment
./BlackBird# Posted December 6, 2012 Share Posted December 6, 2012 local marker = createMarker( 0, 0, 0, 'arrow', 1.5, 255, 0, 0, 0 ) function hit( hitPlayer, matchingDimension ) setTime (21, 00) setWeather (16) end addEventHandler( "onClientMarkerHit", marker, hit) Link to comment
d43dr4 Posted December 6, 2012 Author Share Posted December 6, 2012 لما ادخل الماركر ما يتغير الجو و لا الوقت Link to comment
3NAD Posted December 6, 2012 Share Posted December 6, 2012 -- Client Side theMarker = createMarker ( 0, 0, 0, "cylinder", 3, 255, 255, 0, 170 ) addEventHandler( "onClientMarkerHit", theMarker, function ( ) setTime ( 21, 00) setWeather ( 16 ) end ) Link to comment
d43dr4 Posted December 6, 2012 Author Share Posted December 6, 2012 شكرا عناد لكن ما عطيتوني لما اطلع من الماركر يرجع الجو زي ماكان ؟؟ Link to comment
3NAD Posted December 6, 2012 Share Posted December 6, 2012 استخدم إيفنت "onClientMarkerLeave" والباقي عليك Link to comment
d43dr4 Posted December 6, 2012 Author Share Posted December 6, 2012 انا اعرف ذي بس المشكل وش اكتب مشان يرجع الوقت و الجو مكان setTime / setWeather Link to comment
abu5lf Posted December 6, 2012 Share Posted December 6, 2012 انا اعرف ذيبس المشكل وش اكتب مشان يرجع الوقت و الجو مكان setTime / setWeather حط الوقت الي تبيه والجو Link to comment
iPrestege Posted December 6, 2012 Share Posted December 6, 2012 انا اعرف ذيبس المشكل وش اكتب مشان يرجع الوقت و الجو مكان setTime / setWeather حط الوقت الي تبيه والجو + Weather iD : Weather Link to comment
d43dr4 Posted December 6, 2012 Author Share Posted December 6, 2012 ولا شيء ^^ تــــم احبآب .. 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