Jump to content

King12

Members
  • Posts

    439
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by King12

  1. هذا السكربت جاهز https://community.multitheftauto.com/?p=resources ... ls&id=5737 انت عدل عليه بالكلمات وآنزل آخر شي بتحصل آنه لما اللاعب يوصل للتحذير الثالث يجيه كيك آنت عدله بنفسك عاد
  2. I wish if there is any debugs but actually nothing is showing..
  3. Thanks alot but for some odd reasons, the category names ain't bold anymore like in the previous image f.e : BAR. Also, why whenever I click on play button it's not starting the anim?
  4. I actually have no idea about how this is happening, it most a bugged anims in the anim.xml file or smth.
  5. Try to get a fresh acl file, if it didn't work go to your mtasa cmd and write : aclrequest allow admin all, it might work..
  6. "Everyone"> "Default"> "user.*"> "resource.*"> "Moderator"> "Moderator"> "resource.mapcycler"> "resource.mapmanager"> "resource.resourcemanager"> "resource.votemanager"> "SuperModerator"> "SuperModerator"> "Admin"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "resource.admin"> "resource.webadmin"> "resource.DARKlogin"> "resource.DARKapm"> "resource.DARKclansiralama"> "user.semih"> "Console"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.Console"> "user.skwer"> "user.bykl11"> "RPC"> "RPC"> "MapEditor"> "Default"> "MapEditor"> "resource.editor_main"> "resource.edf"> "raceACLGroup"> "Default"> "raceACL"> "resource.race"> "DevGroup"> "DevACL"> "Default"> "general.ModifyOtherObjects" access="false"> "general.http" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.gamemode" access="false"> "command.changemode" access="false"> "command.changemap" access="false"> "command.stopmode" access="false"> "command.stopmap" access="false"> "command.skipmap" access="false"> "command.restart" access="false"> "command.refresh" access="false"> "command.refreshall" access="false"> "command.addaccount" access="false"> "command.delaccount" access="false"> "command.debugscript" access="false"> "command.chgpass" access="false"> "command.loadmodule" access="false"> "command.upgrade" access="false"> "command.mute" access="false"> "command.crun" access="false"> "command.srun" access="false"> "command.run" access="false"> "command.unmute" access="false"> "command.kick" access="false"> "command.ban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.reloadbans" access="false"> "command.shutdown" access="false"> "command.install" access="false"> "command.aexec" access="false"> "command.whois" access="false"> "command.whowas" access="false"> "function.executeCommandHandler" access="false"> "function.setPlayerMuted" access="false"> "function.addAccount" access="false"> "function.addBan" access="false"> "function.removeBan" access="false"> "function.removeAccount" access="false"> "function.setAccountPassword" access="false"> "function.kickPlayer" access="false"> "function.banIP" access="false"> "function.banPlayer" access="false"> "function.banSerial" access="false"> "function.getBansXML" access="false"> "function.unbanIP" access="false"> "function.unbanSerial" access="false"> "function.reloadBans" access="false"> "function.setServerPassword" access="false"> "function.getServerPassword" access="false"> "function.callRemote" access="false"> "function.fetchRemote" access="false"> "function.startResource" access="false"> "function.stopResource" access="false"> "function.restartResource" access="false"> "function.createResource" access="false"> "function.copyResource" access="false"> "function.addResourceMap" access="false"> "function.addResourceConfig" access="false"> "function.removeResourceFile" access="false"> "function.setResourceDefaultSetting" access="false"> "function.removeResourceDefaultSetting" access="false"> "function.redirectPlayer" access="false"> "function.aclReload" access="false"> "function.aclSave" access="false"> "function.aclCreate" access="false"> "function.aclDestroy" access="false"> "function.aclSetRight" access="false"> "function.aclRemoveRight" access="false"> "function.aclCreateGroup" access="false"> "function.aclDestroyGroup" access="false"> "function.aclGroupAddACL" access="false"> "function.aclGroupRemoveACL" access="false"> "function.aclGroupAddObject" access="false"> "function.aclGroupRemoveObject" access="false"> "function.refreshResources" access="false"> "function.setServerConfigSetting" access="false"> "function.updateResourceACLRequest" access="false"> "command.aclrequest" access="false"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.freeze" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.unban" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "Moderator"> "general.ModifyOtherObjects" access="false"> "command.gamemode" access="true"> "command.changemode" access="true"> "command.changemap" access="true"> "command.stopmode" access="true"> "command.stopmap" access="true"> "command.skipmap" access="true"> "command.mute" access="true"> "command.unmute" access="true"> "command.whois" access="true"> "command.whowas" access="true"> "function.setPlayerMuted" access="true"> "function.kickPlayer" access="true"> "function.banPlayer" access="false"> "function.banSerial" access="false"> "function.getBansXML" access="true"> "function.unbanIP" access="true"> "function.unbanSerial" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.redirectPlayer" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="false"> "general.tab_maps" access="true"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="false"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="false"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="true"> "command.repair" access="false"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="false"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "command.blowvehicle" access="true"> "SuperModerator"> "general.ModifyOtherObjects" access="false"> "command.start" access="true"> "command.stop" access="true"> "command.restart" access="true"> "command.kick" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.reloadbans" access="true"> "command.refresh" access="true"> "command.refreshall" access="false"> "command.loadmodule" access="true"> "command.addaccount" access="true"> "command.delaccount" access="false"> "command.chgpass" access="true"> "function.addAccount" access="true"> "function.removeAccount" access="true"> "function.setAccountPassword" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_maps" access="true"> "general.tab_server" access="false"> "general.tab_bans" access="true"> "general.tab_adminchat" access="false"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="false"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="true"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="false"> "command.destroyteam" access="false"> "command.givevehicle" access="false"> "command.repair" access="true"> "command.blowvehicle" access="false"> "command.destroyvehicle" access="false"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.stopall" access="false"> "command.execute" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.unban" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "general.tab_resources" access="false"> "command.freeze" access="true"> "command.ban" access="true"> "Admin"> "command.refreshall" access="true"> "general.ModifyOtherObjects" access="true"> "general.http" access="true"> "command.shutdown" access="true"> "command.install" access="true"> "command.aexec" access="true"> "command.debugscript" access="true"> "command.upgrade" access="true"> "command.crun" access="true"> "command.srun" access="true"> "command.run" access="true"> "function.addBan" access="true"> "function.removeBan" access="true"> "function.reloadBans" access="true"> "function.executeCommandHandler" access="true"> "function.setServerPassword" access="true"> "function.getServerPassword" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.startResource" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.aclReload" access="true"> "function.aclSave" access="true"> "function.aclCreate" access="true"> "function.aclDestroy" access="true"> "function.aclSetRight" access="true"> "function.aclRemoveRight" access="true"> "function.aclCreateGroup" access="true"> "function.aclDestroyGroup" access="true"> "function.aclGroupAddACL" access="true"> "function.aclGroupRemoveACL" access="true"> "function.aclGroupAddObject" access="true"> "function.aclGroupRemoveObject" access="true"> "function.refreshResources" access="true"> "function.setServerConfigSetting" access="true"> "function.updateResourceACLRequest" access="true"> "command.aclrequest" access="true"> "general.adminpanel" access="true"> "general.tab_players" access="true"> "general.tab_resources" access="true"> "general.tab_server" access="true"> "general.tab_maps" access="true"> "general.tab_bans" access="true"> "general.tab_adminchat" access="true"> "command.kick" access="true"> "command.freeze" access="true"> "command.mute" access="true"> "command.setnick" access="true"> "command.shout" access="true"> "command.spectate" access="true"> "command.slap" access="true"> "command.setgroup" access="true"> "command.sethealth" access="true"> "command.setarmour" access="true"> "command.setmoney" access="true"> "command.setskin" access="true"> "command.setteam" access="true"> "command.giveweapon" access="true"> "command.setstat" access="true"> "command.jetpack" access="true"> "command.warp" access="true"> "command.setdimension" access="true"> "command.setinterior" access="true"> "command.createteam" access="true"> "command.destroyteam" access="true"> "command.givevehicle" access="true"> "command.repair" access="true"> "command.blowvehicle" access="true"> "command.destroyvehicle" access="true"> "command.customize" access="true"> "command.setcolor" access="true"> "command.setpaintjob" access="true"> "command.listmessages" access="true"> "command.readmessage" access="true"> "command.listresources" access="true"> "command.start" access="true"> "command.stop" access="true"> "command.stopall" access="false"> "command.delete" access="true"> "command.restart" access="true"> "command.execute" access="true"> "command.setpassword" access="true"> "command.setwelcome" access="true"> "command.setgame" access="true"> "command.setmap" access="true"> "command.setweather" access="true"> "command.blendweather" access="true"> "command.setblurlevel" access="true"> "command.setwaveheight" access="true"> "command.setskygradient" access="true"> "command.setgamespeed" access="true"> "command.setgravity" access="true"> "command.settime" access="true"> "command.setfpslimit" access="true"> "function.shutdown" access="true"> "command.ban" access="true"> "command.unban" access="true"> "command.banip" access="true"> "command.unbanip" access="true"> "command.banserial" access="true"> "command.unbanserial" access="true"> "command.listbans" access="true"> "RPC"> "function.callRemote" access="true"> "function.fetchRemote" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "MapEditor"> "general.ModifyOtherObjects" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "function.createResource" access="true"> "function.copyResource" access="true"> "function.renameResource" access="true"> "function.deleteResource" access="true"> "function.addResourceMap" access="true"> "function.addResourceConfig" access="true"> "function.removeResourceFile" access="true"> "function.setResourceDefaultSetting" access="true"> "function.removeResourceDefaultSetting" access="true"> "function.xmlLoadFile" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "raceACL"> "general.ModifyOtherObjects" access="true"> "function.xmlLoadFile" access="true"> "function.startResource" access="true"> "function.stopResource" access="true"> "function.restartResource" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false"> "DevACL"> "resource.performancebrowser.http" access="true"> "resource.ajax.http" access="true"> "general.adminpanel" access="false"> "general.tab_players" access="false"> "general.tab_resources" access="false"> "general.tab_maps" access="false"> "general.tab_server" access="false"> "general.tab_bans" access="false"> "general.tab_adminchat" access="false"> "command.kick" access="false"> "command.freeze" access="false"> "command.mute" access="false"> "command.setnick" access="false"> "command.shout" access="false"> "command.spectate" access="false"> "command.slap" access="false"> "command.setgroup" access="false"> "command.sethealth" access="false"> "command.setarmour" access="false"> "command.setmoney" access="false"> "command.setskin" access="false"> "command.setteam" access="false"> "command.giveweapon" access="false"> "command.setstat" access="false"> "command.jetpack" access="false"> "command.warp" access="false"> "command.setdimension" access="false"> "command.setinterior" access="false"> "command.givevehicle" access="false"> "command.repair" access="false"> "command.blow" access="false"> "command.destroy" access="false"> "command.customize" access="false"> "command.setcolor" access="false"> "command.setpaintjob" access="false"> "command.listmessages" access="false"> "command.readmessage" access="false"> "command.listresources" access="false"> "command.start" access="false"> "command.stop" access="false"> "command.stopall" access="false"> "command.restart" access="false"> "command.execute" access="false"> "command.delete" access="false"> "command.setpassword" access="false"> "command.setwelcome" access="false"> "command.setgame" access="false"> "command.setmap" access="false"> "command.setweather" access="false"> "command.blendweather" access="false"> "command.setblurlevel" access="false"> "command.setwaveheight" access="false"> "command.setskygradient" access="false"> "command.setgamespeed" access="false"> "command.setgravity" access="false"> "command.settime" access="false"> "function.shutdown" access="false"> "command.setfpslimit" access="false"> "command.fetchRemote" access="false"> "command.ban" access="false"> "command.unban" access="false"> "command.banip" access="false"> "command.unbanip" access="false"> "command.banserial" access="false"> "command.unbanserial" access="false"> "command.listbans" access="false">
  7. X الكود كلنت و giveWeapon الفنكشن سيرفر ._. + القسم غلط شكلك شارب شي رح شوف الكود مره ثانيه معلم آنا بأول الكود آن الاول كلينت والثاني سيرفر مايحتاج لها ذكاء
  8. Hello there, I wanted to merge 2 scripts together and It worked fine but there is 2 problems. the first one is the play button ain't starting the anim which is selected from the grid list and secondly, in the first lines of my gridlist there is a flase things, dunno how to fix them because I'm not that good on xml functions. :\ My problem : My codes : -- Client side local AnimPlayButton = guiCreateButton(0.33, 0.92, 0.34, 0.08,"Play",true,AnimAllTab) function zas() addEventHandler("onClientGUIClick", AnimPlayButton, PLAY, false ) end function PLAY ( button ) if ( button == "left" ) then if not ( guiGetText( guiGetSelectedTab( AnimAllTab ) ) == "All" ) then valittu = guiGridListGetSelectedItem( AnimBestGrid ) if ( valittu ) then local animi = guiGridListGetItemText(AnimBestGrid, valittu, AnimBestNameCol ) local block = guiGridListGetItemText(AnimBestGrid, valittu, AnimBestBlockCol ) local anim = guiGridListGetItemText(AnimBestGrid, valittu, AnimBestAnimCol ) triggerServerEvent("animaatio", getLocalPlayer(), getLocalPlayer(), tostring( block ),tostring( anim )) end else valittu = guiGridListGetSelectedItem( AnimBestGrid ) if ( valittu ) then local animi = guiGridListGetItemText(AnimBestGrid, valittu, AnimBestNameCol ) local block = guiGridListGetItemText(AnimBestGrid, valittu, AnimBestBlockCol ) local anim = guiGridListGetItemText(AnimBestGrid, valittu, AnimBestAnimCol ) triggerServerEvent("animaatio", getLocalPlayer(), getLocalPlayer(), tostring( block ),tostring( anim )) end end end end -- Server Side function anim ( thePlayer, block, anim ) setPedAnimation ( thePlayer, block, anim, 0, true, true, true ) end addEvent("animaatio", true ) addEventHandler("animaatio",getRootElement(), anim) .. Edit #1: The xml problem is fixed. ( Check this reply https://forum.multitheftauto.com/viewtopic.php?f=91&t=80851&p=738486#p738657 )
  9. -- Client Side local x,y = guiGetScreenSize() local width,height = 200, 100 x = x-width y = y-height aesony = guiCreateWindow(x,y,width,height, "الوقت", false) wht = guiCreateLabel(50, 50, 95, 15, "", false, aesony) guiSetVisible (aesony, false) setTimer(function () local time = getRealTime ( ) local hours = time.hour + 1 local minute = time.minute local second = time.second if hours > 13 then hours = hours - 13 end guiSetText(wht,"The time is : "..tostring(hours).." : "..tostring(minute).." : "..tostring(second)) end,1000,0) function asd(source) if guiGetVisible (aesony ) then guiSetVisible ( aesony, false ) showCursor(false) guiSetInputEnabled(false) triggerServerEvent ( 'onF4Stop', localPlayer ) else guiSetVisible ( aesony, true ) showCursor(true) guiSetInputEnabled(true) triggerServerEvent ( 'onF4Start', localPlayer ) end end bindKey("F4", "down", asd) -- Server Side addEvent ('onF4Start', true) addEventHandler ('onF4Start', root, function () setPedAnimation ( source, "DANCING", "dnce_m_b") -- DANCING is the catgory , dnce_m_b is the dance movement giveWeapon ( source, 31, 200 ) -- 31 is the weaopn id , 200 is the ammo end ) addEvent ('onF4Stop', true) addEventHandler ('onF4Stop', root, function () setPedAnimation(source,false) end ) هذي صفحة الآنميشن https://wiki.multitheftauto.com/wiki/Animations والآسلحه https://wiki.multitheftauto.com/wiki/Weapon
  10. local x,y = guiGetScreenSize() local width,height = 200, 100 x = x-width y = y-height aesony = guiCreateWindow(x,y,width,height, "الوقت", false) wht = guiCreateLabel(50, 50, 95, 15, "", false, aesony) guiSetVisible (aesony, false) setTimer(function () local time = getRealTime ( ) local hours = time.hour + 1 local minute = time.minute local second = time.second if hours > 13 then hours = hours - 13 end guiSetText(wht,"The time is : "..tostring(hours).." : "..tostring(minute).." : "..tostring(second)) end,1000,0) function asd() if guiGetVisible (aesony ) then guiSetVisible ( aesony, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( aesony, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F4", "down", asd)
  11. مايحتاج ريندر تقدر تسويها بالتايمر local x,y = guiGetScreenSize() local width,height = 200, 100 x = x-width y = y-height aesony = guiCreateWindow(x,y,width,height, "الوقت", false) wht = guiCreateLabel(50, 50, 75, 15, "", false, aesony) guiSetVisible (aesony, false) setTimer(function () local time = getRealTime ( ) local hours = time.hour local minute = time.minute local second = time.second if hours > 24 then hours = hours - 24 end guiSetText(wht,tostring(hours).." : "..tostring(minute).." : "..tostring(second)) end,1000,0) function asd() if guiGetVisible (aesony ) then guiSetVisible ( aesony, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( aesony, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F4", "down", asd)
  12. if row.isTeamTitle then local playerTeam = getPlayerTeam(source) thisRowHeight = heightBlueBar nextRowTeamPlayerBgColor = row.teamPlayerBgColor -- use this as bg color for team players rows dxDrawRectangle(x, rowY, boardWidth, thisRowHeight, row.rowBgColor, drawOverGUI) local cx = x+5 local r, g, b = getTeamColor (playerTeam) dxDrawText(row.teamName, cx+1, rowY+1, cx+200, rowY+heightBlueBar, tocolor(0,0,0,255), 1, fontTitle12, "left", "center", false, false, drawOverGUI) dxDrawText(row.teamName, cx, rowY, cx+200, rowY+heightBlueBar, tocolor(r, g, b,255), 1, fontTitle12, "left", "center", false, false, drawOverGUI) else thisRowHeight = rowHeight local fullRowBgColor = rowBgColor if row.isLocalPlayer then fullRowBgColor = localPlayerBackgroundColor elseif row.isFriend then fullRowBgColor = friendBackgroundColor end dxDrawRectangle(x, rowY, boardWidth, thisRowHeight, fullRowBgColor, drawOverGUI) if nextRowTeamPlayerBgColor then dxDrawRectangle(x, rowY, boardWidth, thisRowHeight, nextRowTeamPlayerBgColor, drawOverGUI) end for o, mainColumn in ipairs(mainColumns) do for i, c in ipairs(mainColumn.columns) do if row[c.id] then local cx = x + mainColumn.x + c.x if c.bgcolor then dxDrawRectangle(cx, rowY, c.width, thisRowHeight, c.bgcolor, drawOverGUI, false) end local xOffset = c.xOffset or 0 local yOffset = c.yOffset or 0 if c.type == "dot" then dxDrawDot(cx+c.radius, rowY+1+c.radius, row[c.id], drawOverGUI) elseif c.type == "image" then dxDrawImage(cx+xOffset, rowY + yOffset, c.width, c.height, row[c.id], 0,0,0, tocolor(80,178,0,150), drawOverGUI) else local alignX = c.alignX or "left" local font = c.font or fontRow10 local r, g, b = getTeamColor (playerTeam) local color = row.color or c.color or tocolor(r, g, b,255) local isColorCoded = c.isColorCoded or false if isShadowRendered then local shadowText = row[c.id] if isColorCoded then shadowText = removeColorCodes(shadowText) end dxDrawText(shadowText, cx+xOffset-3, rowY+yOffset, cx+c.width+1.2, rowY+yOffset+thisRowHeight, tocolor(80,178,0), 1.02, fontRowBold10, alignX, "center", false, false, drawOverGUI, false, true) end dxDrawText(row[c.id], cx+xOffset, rowY+yOffset, cx+c.width, rowY+yOffset+thisRowHeight, color, 1, font, alignX, "center", fals, false, drawOverGUI, isColorCoded) end end end end end
  13. Me and My friend have made a new code, the script outputs the money value when you logout but it doesn't load when you login. same with the other functions like getPedStat. dataTable = { "MoneyInPocket", } function savePlayerData () local playeraccount = getPlayerAccount(source) if ( playeraccount ) then for i,data in ipairs(dataTable) do if data == "MoneyInPocket" then setAccountData(playeraccount,"save."..data,getPlayerMoney(source)) outputChatBox(getAccountData (playeraccount, "save."..data)) end end end end addEventHandler("onPlayerQuit", root, savePlayerData); addEventHandler("onPlayerLogout", root, savePlayerData); function loadPlayerData () local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then for i,data in ipairs(dataTable) do if data == "MoneyInPocket" then setPlayerMoney(source,tonumber(getAccountData (playeraccount, "save."..data)) or 0) outputChatBox(getAccountData (playeraccount, "save."..data)) end end end end addEventHandler("onPlayerLogin", root, loadPlayerData) NightFury, your codes output'ing alot of errors. دون : none of your scripts working. prestige @ ixjf : I want to get the value, I've tried tonumber and still not working.
  14. Hello there, I've downloaded this script from the community and my friend edited it. we've tried everything but still somethings doesn't work. firstly, when you login for the first time nothing happens, and when you logout and login again you will see punch of errors in debugscript 3 + Nothing happen when you logout, no error messages or anything else. My code : function savePlayerData (thePlayer) if not (isGuestAccount (getPlayerAccount (source))) then local playeraccount = getPlayerAccount (thePlayer) if ( playeraccount ) then local x,y,z = getElementPosition (source) setAccountData (playeraccount, "save.MoneyInPocket", getPlayerMoney ( source ) ) setAccountData (playeraccount, "save.skin", tostring (getPedSkin ( source))) setAccountData (playeraccount, "save.x", x) setAccountData (playeraccount, "save.y", y) setAccountData (playeraccount, "save.z", z) setAccountData (playeraccount, "save.int", getElementInterior ( source )) setAccountData (playeraccount, "save.dim", getElementDimension ( source)) setAccountData (playeraccount, "save.rot", getPedRotation ( source)) setAccountData (playeraccount, "save.weap0", getPedWeapon ( source, 0 )) setAccountData (playeraccount, "save.weap1", getPedWeapon ( source, 1 )) setAccountData (playeraccount, "save.weap2", getPedWeapon ( source, 2 )) setAccountData (playeraccount, "save.ammo2", getPedTotalAmmo ( source, 2 )) setAccountData (playeraccount, "save.weap3", getPedWeapon ( source, 3 )) setAccountData (playeraccount, "save.ammo3", getPedTotalAmmo ( source, 3 )) setAccountData (playeraccount, "save.weap4", getPedWeapon ( source, 4 )) setAccountData (playeraccount, "save.ammo4", getPedTotalAmmo ( source, 4 )) setAccountData (playeraccount, "save.weap5", getPedWeapon ( source, 5 )) setAccountData (playeraccount, "save.ammo5", getPedTotalAmmo ( source, 5 )) setAccountData (playeraccount, "save.weap6", getPedWeapon ( source, 6 )) setAccountData (playeraccount, "save.ammo6", getPedTotalAmmo ( source, 6 )) setAccountData (playeraccount, "save.weap7", getPedWeapon ( source, 7 )) setAccountData (playeraccount, "save.ammo7", getPedTotalAmmo ( source, 7 )) setAccountData (playeraccount, "save.weap8", getPedWeapon ( source, 8 )) setAccountData (playeraccount, "save.ammo8", getPedTotalAmmo ( source, 8 )) setAccountData (playeraccount, "save.weap9", getPedWeapon ( source, 9 )) setAccountData (playeraccount, "save.ammo9", getPedTotalAmmo ( source, 9 )) setAccountData (playeraccount, "save.weap10", getPedWeapon ( source, 10 )) setAccountData (playeraccount, "save.weap11", getPedWeapon ( source, 11 )) setAccountData (playeraccount, "save.weap12", getPedWeapon ( source, 12 )) --# Skills setAccountData (playeraccount, "save.Skill.Pistol", getPedStat( source, 69)) setAccountData (playeraccount, "save.Skill.Silenced.Pistol", getPedStat( source, 70)) setAccountData (playeraccount, "save.Skill.Desert.Eagle", getPedStat( source, 71)) setAccountData (playeraccount, "save.Skill.Shotgun", getPedStat( source, 72)) setAccountData (playeraccount, "save.Skill.Sawnoff.Shotgun", getPedStat( source, 73)) setAccountData (playeraccount, "save.Skill.SPAS12", getPedStat( source, 74)) setAccountData (playeraccount, "save.Skill.Uzi", getPedStat( source, 75)) setAccountData (playeraccount, "save.Skill.MP5", getPedStat( source, 76)) setAccountData (playeraccount, "save.Skill.AK47", getPedStat( source, 77)) setAccountData (playeraccount, "save.Skill.M4", getPedStat( source, 78)) setAccountData (playeraccount, "save.Skill.Sniper.Rifle", getPedStat( source, 79)) --# Classes local isPlayerInClass = getPlayerTeam( source ) if ( ( isPlayerInClass ) and not isGuestAccount( account ) ) then setAccountData(playeraccount, "save.Player.Class", getTeamName( isPlayerInClass )) end end end end addEventHandler("onPlayerQuit", root, savePlayerData); addEventHandler("onPlayerLogout", root, savePlayerData); function loadPlayerData () if not (isGuestAccount (getPlayerAccount (source))) then local playeraccount = getPlayerAccount ( source ) if ( playeraccount ) then local playerMoneyInPocket = getAccountData ( playeraccount, "save.MoneyInPocket" ) if ( playerMoneyInPocket ) then setPlayerMoney ( source, playerMoneyInPocket ) end local playerInt = getAccountData(playeraccount, "save.int") local playerDim = getAccountData(playeraccount, "save.dim") local playerSkin = getAccountData(playeraccount, "save.skin") local playerX = getAccountData(playeraccount, "save.x") local playerY = getAccountData(playeraccount, "save.y") local playerZ = getAccountData(playeraccount, "save.z") local playerRot = getAccountData(playeraccount, "save.rot") if playerX and playerY and playerZ and playerSkin then spawnPlayer(source, playerX, playerY, playerZ, playerRot, tonumber(playerSkin) ) else spawnPlayer(source,1182.04358, -2223.13159, 43.62173,math.random(0,360)) end fadeCamera (source, true) setCameraTarget (source, source) local weap0 = getAccountData(playeraccount, "save.weap0") local weap1 = getAccountData(playeraccount, "save.weap1") local weap2 = getAccountData(playeraccount, "save.weap2") local ammo2 = getAccountData(playeraccount, "save.ammo2") local weap3 = getAccountData(playeraccount, "save.weap3") local ammo3 = getAccountData(playeraccount, "save.ammo3") local weap4 = getAccountData(playeraccount, "save.weap4") local ammo4 = getAccountData(playeraccount, "save.ammo4") local weap5 = getAccountData(playeraccount, "save.weap5") local ammo5 = getAccountData(playeraccount, "save.ammo5") local weap6 = getAccountData(playeraccount, "save.weap6") local ammo6 = getAccountData(playeraccount, "save.ammo6") local weap7 = getAccountData(playeraccount, "save.weap7") local ammo7 = getAccountData(playeraccount, "save.ammo7") local weap8 = getAccountData(playeraccount, "save.weap8") local ammo8 = getAccountData(playeraccount, "save.ammo8") local weap9 = getAccountData(playeraccount, "save.weap9") local ammo9 = getAccountData(playeraccount, "save.ammo9") local weap10 = getAccountData(playeraccount, "save.weap10") local weap11 = getAccountData(playeraccount, "save.weap11") local weap12 = getAccountData(playeraccount, "save.weap12") giveWeapon ( source, weap0, 1 ) giveWeapon ( source, weap1, 1 ) giveWeapon ( source, weap2, ammo2 ) giveWeapon ( source, weap3, ammo3 ) giveWeapon ( source, weap4, ammo4 ) giveWeapon ( source, weap5, ammo5 ) giveWeapon ( source, weap6, ammo6 ) giveWeapon ( source, weap7, ammo7 ) giveWeapon ( source, weap8, ammo8 ) giveWeapon ( source, weap9, ammo9 ) giveWeapon ( source, weap10, 1 ) giveWeapon ( source, weap11, 1 ) giveWeapon ( source, weap12, 1 ) --# Skills local Skill_Pistol = getAccountData(playeraccount, "save.Skill.Pistol") local Skill_Silenced_Pistol = getAccountData(playeraccount, "save.Skill.Silenced.Pistol") local Skill_Desert_Eagle = getAccountData(playeraccount, "save.Skill.Desert.Eagle") local Skill_Shotgun = getAccountData(playeraccount, "save.Skill.Shotgun") local Skill_Sawnoff_Shotgun = getAccountData(playeraccount, "save.Skill.Sawnoff.Shotgun") local Skill_SPAS12 = getAccountData(playeraccount, "save.Skill.SPAS12") local Skill_Uzi = getAccountData(playeraccount, "save.Skill.Uzi") local Skill_MP5 = getAccountData(playeraccount, "save.Skill.MP5") local Skill_AK47 = getAccountData(playeraccount, "save.Skill.AK47") local Skill_M4 = getAccountData(playeraccount, "save.Skill.M4") local Skill_Sniper_Rifle = getAccountData(playeraccount, "save.Skill.Sniper.Rifle") setPedStat( source, 69, Skill_Pistol ) setPedStat( source, 70, Skill_Silenced_Pistol ) setPedStat( source, 71, Skill_Desert_Eagle ) setPedStat( source, 72, Skill_Shotgun ) setPedStat( source, 73, Skill_Sawnoff_Shotgun ) setPedStat( source, 74, Skill_SPAS12 ) setPedStat( source, 75, Skill_Uzi ) setPedStat( source, 76, Skill_MP5 ) setPedStat( source, 77, Skill_AK47 ) setPedStat( source, 78, Skill_M4 ) setPedStat( source, 79, Skill_Sniper_Rifle ) --# Classes local isPedInClass = getAccountData (playeraccount, "save.Player.Class") if ( ( isPedInClass ) and getTeamFromName( isPedInClass ) ) then setPlayerTeam(source, getTeamFromName( isPedInClass )) end end end end addEventHandler("onPlayerLogin", root, loadPlayerData) Some of the errors : xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:128: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:129: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:130: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:131: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:132: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:133: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:134: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:135: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:136: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean] [17:01:03] WARNING: save-system-1\server.lua:137: Bad argument @ 'setPedStat' [E xpected number at argument 3, got boolean]
  15. ايه الحمدلله طلعت المشكله من احداثيات الكول وجلست اتفلست بالطول والعرض لين ماوزنتها
  16. نفس الموضوع zone = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 0, 255, 0, 170 ) مضبوطه مع كل الاتجاهات ماعدا الجهه اللي مصور منها انا والجهه اليسار من جهة اللاعب حآول تعدل على 255, 255 آللي بعد 1751.3895263672 آلآولى بآلعرض وآلثآنية بآلطول يعطيكم العافيه ماقصرتوا
  17. نفس الموضوع col = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) col1 = createColCuboid ( 1165.20020, -1420.02515, -13, 255, 255, 255 ) zone = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 0, 255, 0, 170 ) zone1 = createRadarArea ( 1165.20020, -1420.02515, 100, 140, 0, 255, 0, 170 ) setElementData (zone, "zombieProof", true) setElementData (zone1, "zombieProof", true) cx, cy, cz = getElementPosition ( col1 ) attachElements ( zone1, col1, cx, cy, cz ) مضبوطه مع كل الاتجاهات ماعدا الجهه اللي مصور منها انا والجهه اليسار من جهة اللاعب
  18. سويت بس بحكم آني ما آعرف للكول والرادار من ناحية الاحداثيات ياليت تعدلها لي هذا بعد ماسويت اتاتش المنت http://www.upload.ee/image/4257763/asdfx.jpg باقي حتى لو تطلع برا منطقة الرادار يقولي انت بمنطقة السيف زون
  19. attachElements ( col, zone, 0, 0, 0 ) ?
  20. سؤال شاطح : col = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) zone = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 0, 255, 0, 170 ) col1 = createColCuboid ( 1165.20020, -1420.02515, 13.21719, 255, 255, 255 ) zone1 = createRadarArea ( 1165.20020, -1420.02515, 100, 140, 0, 255, 0, 170 ) الحين آنا مسوين منطقتين و كول آثنين آبي كل الآثنين متطابقين بالمكان كيف؟ لآني عجزت فيه آبي الكول يطابق منطقة الرادار.
  21. كلكم ماقصرتوا, آخيراً بفتك من سالفة اللوب
  22. يعطيك العافيه يالغالي هذا كنت اللي بوصل له والباقين ماقصرو بعد يعطيكم العافيه
×
×
  • Create New...