Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. iPrestege

    index

    No it's the easier thing!
  2. Yes i was playing in a BaseMode\Tactics server .
  3. أخوي عشان تعرف الخطأ استخدم /debugscript 3 ^^
  4. GUIEditor = { gridlist = {}, staticimage = {}, button = {} } local vToGridText = { { 'البداية' }, { 'الدائري' }, } local vToGet = { [ 'البداية' ] = { x,y,z,xl,xy,xz }, [ 'الدائري' ] = { x,y,z,xl,xy,xz }, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.staticimage[1] = guiCreateStaticImage(451, 173, 361, 487, "sta.png", false) guiSetVisible(GUIEditor.staticimage[1],false) guiSetAlpha(GUIEditor.staticimage[1], 0.83) GUIEditor.gridlist[1] = guiCreateGridList(45, 53, 275, 329, false, GUIEditor.staticimage[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "warp", 0.9) GUIEditor.button[1] = guiCreateButton(105, 446, 161, 31, "Go", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") addEventHandler('onClientGUIClick',GUIEditor.gridlist[1],vReturnMatrix,false) for _,v in ipairs ( vToGridText ) do guiGridListSetItemText ( GUIEditor.gridlist[1],guiGridListAddRow ( GUIEditor.gridlist[1] ),1,v [ 1 ],false,false ) end end ) function vReturnMatrix ( ) if guiGridListGetSelectedItem ( source ) ~= -1 then local vReturnValue = guiGridListGetItemText ( source, guiGridListGetSelectedItem ( source ), 1 ) if vReturnValue then setCameraMatrix ( vToGet [ vReturnValue ] [ 1 ],vToGet [ vReturnValue ] [ 2 ],vToGet [ vReturnValue ] [ 3 ],vToGet [ vReturnValue ] [ 4 ],vToGet [ vReturnValue ] [ 5 ],vToGet [ vReturnValue ] [ 6 ] ) end end end
  5. Version = 1.3.3-release-5588.0.000 Time = Fri Jul 05 09:52:13 2013 Module = C:\Program Files (x86)\MTA San Andreas 1.3\mta\game_sa.dll Code = 0xC0000005 Offset = 0x00036250 EAX=00000000 EBX=00000008 ECX=066B9008 EDX=00000000 ESI=066B9008 EDI=051DEE3C EBP=066B9008 ESP=0028F8A0 EIP=05196250 FLG=00010246 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B New crash today!
  6. Where guiButtons defined at.
  7. مثلا تجيب ايدي الشخصية لداتا محددة من كلام .. local vID = guiGridListGetItemData ( vList, guiGridListGetSelectedItem ( vList ), vColumn );
  8. guiGridListGetSelectedItem
  9. اللي تبية تخزن ايدي شخصية ولا شيء
  10. الداتا اللي بتخزنها بالقريد
  11. العفو كان ناقص اند ضض
  12. function showUserPanel ( hitPlayer ) if hitPlayer == localPlayer then if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor ( false ) else guiSetVisible ( GUIEditor.window[1], true ) showCursor ( true ) end end addEventHandler ( "onClientMarkerHit", mm, showUserPanel )
  13. استغرب بعض اللي يبرمج لية مايرتب كودة
  14. اخوي انت مسوي ايدي الشخصية بالقريد ولا كيف؟
  15. Can you post the function when you create the btn?
  16. addEventHandler('onPlayerCommand',root, function ( cmd ) if isObjectInACLGroup ('user.'..getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( 'Admin' ) ) or isObjectInACLGroup ('user.'..getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( 'Console' ) ) then if ( cmd == 'zeem1' ) then setServerConfigSetting( "bullet_sync", "1", true ) setServerConfigSetting( "lightweight_sync_interval", "200", true ) setServerConfigSetting( "player_sync_interval", "50", true ) outputChatBox ( '#CCFF00~~~~~ تم تشغيل مود زيم ~~~~~~~',source,0,0,0,true) elseif ( cmd == 'zeem0' ) then setServerConfigSetting( "bullet_sync", "0", true ) setServerConfigSetting( "lightweight_sync_interval", "1500", true ) setServerConfigSetting( "player_sync_interval", "100", true ) outputChatBox ( '#FF0000~~~~~~~ تم ايقاف مود زيم ~~~~~~~~',source,0,0,0,true ) elseif ( cmd == 'zeem2' ) then setServerConfigSetting( "bullet_sync", "0", true ) setServerConfigSetting( "lightweight_sync_interval", "200", true ) setServerConfigSetting( "player_sync_interval", "80", true ) outputChatBox ( '#99CCFF~~~~~~~~ تم تشغيل نص زيم ~~~~~~~~',source,0,0,0,true ) end end end )
  17. انا شغال معي من اول كود بس قلت يمكن عندك شيء ولا مشكلة يطلع الشات تمام عندي ذذ
  18. شغال معي متأكد انك بـ الادمن؟! ذذ + سوي or ونفس الفنكشن!
  19. addEventHandler('onPlayerCommand',root, function ( cmd ) if cmd == 'zeem1' or cmd == 'zeem0' or cmd == 'zeem2' and not isObjectInACLGroup ('user.'..getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( 'Admin' ) ) then outputChatBox ( '#FF9933Access Denied' ,source,0,0,0,true) return false end if ( cmd == 'zeem1' ) then setServerConfigSetting( "bullet_sync", "1", true ) setServerConfigSetting( "lightweight_sync_interval", "200", true ) setServerConfigSetting( "player_sync_interval", "50", true ) outputChatBox ( '#CCFF00~~~~~ تم تشغيل مود زيم ~~~~~~~',source,0,0,0,true) elseif ( cmd == 'zeem0' ) then setServerConfigSetting( "bullet_sync", "0", true ) setServerConfigSetting( "lightweight_sync_interval", "1500", true ) setServerConfigSetting( "player_sync_interval", "100", true ) outputChatBox ( '#FF0000~~~~~~~ تم ايقاف مود زيم ~~~~~~~~',source,0,0,0,true ) elseif ( cmd == 'zeem2' ) then setServerConfigSetting( "bullet_sync", "0", true ) setServerConfigSetting( "lightweight_sync_interval", "200", true ) setServerConfigSetting( "player_sync_interval", "80", true ) outputChatBox ( '#99CCFF~~~~~~~~ تم تشغيل نص زيم ~~~~~~~~',source,0,0,0,true ) end end )
  20. معليش بس عندي خطأ بالايفنت بدل resourceRoot > root
×
×
  • Create New...