فتى تبوك Posted December 11, 2012 Share Posted December 11, 2012 السلام عليكم ورحمة الله وبركاته مساكم الله بالخير يالربع ياشباب انا سويت ماركر وابي اذا جيت للماركر يسوي حركه Link to comment
./BlackBird# Posted December 11, 2012 Share Posted December 11, 2012 'onMarkerHit' setPedAnimation Link to comment
فتى تبوك Posted December 11, 2012 Author Share Posted December 11, 2012 'onMarkerHit' setPedAnimation يعطيك العافيه طيب ابي اذا ضغطت زر يسوي حركه Link to comment
./BlackBird# Posted December 11, 2012 Share Posted December 11, 2012 'onClientGUIClick' Link to comment
فتى تبوك Posted December 11, 2012 Author Share Posted December 11, 2012 'onClientGUIClick' يعطيك العافيه Link to comment
فتى تبوك Posted December 11, 2012 Author Share Posted December 11, 2012 Yw addEventHandler( 'onClientGUIClick', GUIEditor_Button[1], function dance (GUIEditor_Button[1]) daBlockz = getElementData(root,"blockz") daAnimz = getElementData(root,"animz") if daBlockz == "GUIEditor_Button[1" and daAnimz == "dnce_m_b" then setPedAnimation(GUIEditor_Button[1,false) else setPedAnimation ( source, "DANCING", "dnce_m_b") end end سويت زي الويكي بس ماظبط Link to comment
KinG_DrifT Posted December 11, 2012 Share Posted December 11, 2012 مـآآعندي خبرة قوية بسس آتوقع انك نسسيت القوس الاخير addEventHandler( 'onClientGUIClick', GUIEditor_Button[1], function dance (GUIEditor_Button[1]) daBlockz = getElementData(root,"blockz") daAnimz = getElementData(root,"animz") if daBlockz == "GUIEditor_Button[1" and daAnimz == "dnce_m_b" then setPedAnimation(GUIEditor_Button[1,false) else setPedAnimation ( source, "DANCING", "dnce_m_b") end end )--< Link to comment
BeCooL Posted December 11, 2012 Share Posted December 11, 2012 الكود خرابيط نسخخ المثال كامل Link to comment
فتى تبوك Posted December 11, 2012 Author Share Posted December 11, 2012 الكود خرابيط نسخخ المثال كامل وش الي يضحك بالموضوع؟ ناسخه ولا مو ناسخه الله اكبر اذا طلبت الكود كامل سوو مشكله قالو تعلم وسوي لك كود واذا فيه غلط نعدله لك واذا سويت كود وطلع فيه غلط قامو يستهبلون علينا عالم استغفر الله بس Link to comment
./BlackBird# Posted December 11, 2012 Share Posted December 11, 2012 انت ناسخ نص المثال Link to comment
BeCooL Posted December 11, 2012 Share Posted December 11, 2012 الكود خرابيط نسخخ المثال كامل وش الي يضحك بالموضوع؟ ناسخه ولا مو ناسخه الله اكبر اذا طلبت الكود كامل سوو مشكله قالو تعلم وسوي لك كود واذا فيه غلط نعدله لك واذا سويت كود وطلع فيه غلط قامو يستهبلون علينا عالم استغفر الله بس نمزحح معك وش تبي تسوي بالضبط ؟ Link to comment
فتى تبوك Posted December 11, 2012 Author Share Posted December 11, 2012 يابعد حيي انا ابي اذا ضغطت الزر يسوي حركه Link to comment
./BlackBird# Posted December 11, 2012 Share Posted December 11, 2012 'onClientGUIClick' setPedAnimation Link to comment
فتى تبوك Posted December 11, 2012 Author Share Posted December 11, 2012 'onClientGUIClick' setPedAnimation سويت الكود فوق ماظبط شوف وش الغلط فيه Link to comment
BeCooL Posted December 11, 2012 Share Posted December 11, 2012 يابعد حيي انا ابي اذا ضغطت الزر يسوي حركه جرب ذذ GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Window[1] = guiCreateWindow(0.2738,0.29,0.4588,0.505,"gg",true) click = guiCreateButton(81,110,173,99,"click",false,GUIEditor_Window[1]) ff = bindKey ( "F" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (true ) end end ) addEventHandler("onClientGUIClick", root, function () if source == click then setPedAnimation( myPlayer, "WOMAN_walknorm") end end ) Link to comment
TD[M]ER Posted December 11, 2012 Share Posted December 11, 2012 (edited) مثال function anim ( ) ped1 = createPed(56, 1, 1, 4) if source == btn then setPedAnimation( ped1, "ped", "WOMAN_walknorm") end end addEventHandler ("onClientGUIClick", getRootElement(), anim) اظن كذا والله ذا اللي اعرفه :] اللي شايف غلط يصحح ماجربتهه Edited December 11, 2012 by Guest Link to comment
فتى تبوك Posted December 11, 2012 Author Share Posted December 11, 2012 يابعد حيي انا ابي اذا ضغطت الزر يسوي حركه جرب ذذ GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Window[1] = guiCreateWindow(0.2738,0.29,0.4588,0.505,"gg",true) click = guiCreateButton(81,110,173,99,"click",false,GUIEditor_Window[1]) ff = bindKey ( "F" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (true ) end end ) addEventHandler("onClientGUIClick", root, function () if source == click then setPedAnimation( myPlayer, "WOMAN_walknorm") end end ) ماظبط Link to comment
./BlackBird# Posted December 11, 2012 Share Posted December 11, 2012 يابعد حيي انا ابي اذا ضغطت الزر يسوي حركه جرب ذذ GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Window[1] = guiCreateWindow(0.2738,0.29,0.4588,0.505,"gg",true) click = guiCreateButton(81,110,173,99,"click",false,GUIEditor_Window[1]) bindKey ( "F" , "down" , function() guiSetVisible ( GUIEditor_Window[1] ,not guiGetVisible ( GUIEditor_Window[1] )) showCursor (guiGetVisible ( GUIEditor_Window[1] )) end) addEventHandler("onClientGUIClick", root, function () if source == click then setPedAnimation( myPlayer, "RIOT","RIOT_ANGRY ") end end ) Link to comment
./BlackBird# Posted December 11, 2012 Share Posted December 11, 2012 مثال function anim ( ) if source == btn then setPedAnimation( ped1, "ped", "WOMAN_walknorm") end end addEventHandler ("onClientGUIClick", getRootElement(), anim) اظن كذا والله ذا اللي اعرفه :] اللي شايف غلط يصحح ماجربتهه هذا الكود مافيه اخطاء Link to comment
3NAD Posted December 11, 2012 Share Posted December 11, 2012 مثال function anim ( ) if source == btn then setPedAnimation( ped1, "ped", "WOMAN_walknorm") end end addEventHandler ("onClientGUIClick", getRootElement(), anim) اظن كذا والله ذا اللي اعرفه :] اللي شايف غلط يصحح ماجربتهه ped1 = ?? Link to comment
TD[M]ER Posted December 11, 2012 Share Posted December 11, 2012 مثال function anim ( ) if source == btn then setPedAnimation( ped1, "ped", "WOMAN_walknorm") end end addEventHandler ("onClientGUIClick", getRootElement(), anim) اظن كذا والله ذا اللي اعرفه :] اللي شايف غلط يصحح ماجربتهه ped1 = ?? عدلته 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