EH10 Posted April 8, 2014 Share Posted April 8, 2014 السلام عليكم طلب فنكشات تكتب كلمة باف8 يجي مركر قدامك واذا كتبت الكلمة ثاني مره يختفي الماركر Link to comment
shwaeki Posted April 8, 2014 Share Posted April 8, 2014 ما نتا طالبة viewtopic.php?f=160&t=73881 + دور على كود باين Link to comment
EH10 Posted April 8, 2014 Author Share Posted April 8, 2014 ما نتا طالبةviewtopic.php?f=160&t=73881 + دور على كود باين انا مابي مثل هداك المود بسوي لوحة صنع ماركرات يأخي الكود مايشتغل ومافية كود يجي قدام الماركر Link to comment
shwaeki Posted April 8, 2014 Share Posted April 8, 2014 viewtopic.php?f=160&t=70952&p=660274&hilit=Creater#p660274 هاد شغال بس عدل علية Link to comment
#DRAGON!FIRE Posted April 8, 2014 Share Posted April 8, 2014 addCommandHandler table isElement destroyElement getElementPosition createMarker Link to comment
1REDBULL Posted April 8, 2014 Share Posted April 8, 2014 (edited) marker = createMarker ( x, y, z, "cylinder", 2, 255, 0, 0, 255 ) -- مكان الماركر end addCommandHandler ( "top", RemoveMarker ) ولله ما فهمتك بس جرب ذا Edited April 8, 2014 by Guest Link to comment
#DRAGON!FIRE Posted April 8, 2014 Share Posted April 8, 2014 marker = createMarker ( x, y, z, "cylinder", 2, 255, 0, 0, 255 ) -- مكان الماركر end addCommandHandler ( "top", RemoveMarker ) --الامر الي تكتبه في اف8 ولله ما فهمتك بس جرب ذا ? ???? ?? ? ? ? Link to comment
EH10 Posted April 8, 2014 Author Share Posted April 8, 2014 ممكن تصحيح * local marker = { } addCommandHandler("Markers", function () if isElement( marker[source] ) then destroyElement( markers[source] ) end x,y,z = getElementPosition(source) local marker[source] = createMarker( x, y, z, "cylinder", 1.5, 255, 0, 0, 160 ) else destroyElement ( marker[source] ) end ) Link to comment
#DRAGON!FIRE Posted April 8, 2014 Share Posted April 8, 2014 local marker = { } addCommandHandler( "Markers", function ( player ) if not ( isElement( marker[ player ] ) ) then local x, y, z = getElementPosition( player ) marker[ player ] = createMarker( x, y ,z + 2, "cylinder", 1.5, 255, 0, 0, 160 ) else destroyElement ( marker[ player ] ) marker[ player ] = nil end end ) Link to comment
EH10 Posted April 8, 2014 Author Share Posted April 8, 2014 local marker = { } addCommandHandler( "Markers", function ( player ) if not ( isElement( marker[ player ] ) ) then local x, y, z = getElementPosition( player ) marker[ player ] = createMarker( x, y , z + 2, "cylinder", 1.5, 255, 0, 0, 160 ) else destroyElement ( marker[ player ] ) marker[ player ] = nil end end ) الماركر يجي علي مايجي قدامي Link to comment
#DRAGON!FIRE Posted April 8, 2014 Share Posted April 8, 2014 * انسخ الكود مرة ثانية . Link to comment
shwaeki Posted April 8, 2014 Share Posted April 8, 2014 local marker = { } addCommandHandler( "Markers", function ( player ) if not ( isElement( marker[ player ] ) ) then local x, y, z = getElementPosition( player ) marker[ player ] = createMarker( x, y + 1, z - 1, "cylinder", 1.5, 255, 0, 0, 160 ) else destroyElement ( marker[ player ] ) marker[ player ] = nil end end ) Link to comment
EH10 Posted April 8, 2014 Author Share Posted April 8, 2014 ضبطتة لاكن لما اسوي يجي قدامي ولما اخفية واسوي ظهري ورا يصير وراي Link to comment
shwaeki Posted April 8, 2014 Share Posted April 8, 2014 يا حبيبي ما تعرف تعدل على الاحداثيات و هاطط لفل 32 Link to comment
#DRAGON!FIRE Posted April 8, 2014 Share Posted April 8, 2014 سوي ( - , + ) لين يضبط معاك Link to comment
EH10 Posted April 8, 2014 Author Share Posted April 8, 2014 سويتها قبل لاتقولون وضبطت بس لما الف ظهري يصير وراها Link to comment
EH10 Posted April 8, 2014 Author Share Posted April 8, 2014 قصدي يعني الان كتبت لكلمة يجي قدامي بالضبط بعدين لما اكتبها مره ثانيه يختفي الماركر ولما الف ظهري واككتبها ثالث مره يجي ورا ظهري الماركر Link to comment
Mr-M3AND Posted April 8, 2014 Share Posted April 8, 2014 local marker = { } addCommandHandler( "Markers", function ( player ) if not ( isElement( marker[ player ] ) ) then local x, y, z = getElementPosition( player ) marker[ player ] = createMarker( x, y , z + 1, "cylinder", 1.5, 255, 0, 0, 160 ) attachElements ( marker[ player ] , player, -0.2, 3, -1) setPedAnimation(player,"CASINO","cards_loop",-1,true,true,true ) else destroyElement ( marker[ player ] ) marker[ player ] = nil setPedAnimation(player,false) 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