Jump to content

AjaxFTW

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by AjaxFTW

  1. for eample this code local level = getPlayerWantedLevel ( localPlayer ) if ( level > 0 ) then toggleControl(localPlayer, "sprint", false) end was working with me since 2 days ago 100% Now it's not working and all th scripts which have code toggle not working and these scripts all was working 100% good.
  2. Guys i have problem here some times code toggleControl or toggleAllControls not working in whole the server and some times work it's disable/enable alone at any time IDK why Any help please here about that?!
  3. ok good it's worked but not like what i want for example i want make max speed of infernus 230KPH and at the moment it's just 198 and when i used the code like that 230.0 or 230.3 etc... made max speed just 200KPH or 199KPH.
  4. hey everybody, i made some code to change some things for Infernus Handling but didn't work all IDK why, for example i changed max Speed but didn't work, but car type changed to awd successfully and gears etc... only max speed didn't change help please function vhandling ( ) for _,v in pairs(getElementsByType("vehicle")) do if getElementModel(v) == 411 then setVehicleHandling(v, "numberOfGears", 6) setVehicleHandling(v, "maxVelocity", 230) setVehicleHandling(v, "driveType", "awd") setVehicleHandling(v, "engineType", "electric") end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), vhandling )
  5. ohhh i got it you are right Thx
  6. Bro you didn't understood what i mean!! i want to make if the admin(me) or any one of my staffs have level higher than L4 then he can ban any account they want if it was offline or online like for example and i offline or online my accountData will be set to Banned==True and the same with unbanaccount if used And i'am offline or online my accountdata will be set to Banned==false Got it? I made this function asda(thePlayer,cmd, acc) if getElementData(thePlayer,"admin.number") > 4 then local account = getAccount(acc) setAccountData(account, "Banned", true) exports.CORtexts:output(account.." has been banned successfully", thePlayer, 0, 255, 0) else exports.CORtexts:output("You don't have access to use this command", thePlayer, 255, 0, 0) end end addCommandHandler("banaccount", asda) function asda2(thePlayer,cmd, acc) if getElementData(thePlayer,"admin.number") > 4 then local account = getAccount(acc) setAccountData(account, "Banned", flase) exports.CORtexts:output(account.." has been unbanned successfully", thePlayer, 0, 255, 0) else exports.CORtexts:output("You don't have access to use this command", thePlayer, 255, 0, 0) end end addCommandHandler("unbanaccount", asda2) but message didn't work also maybe getElementData didn't work. i hope find solution.
  7. No one can fix that code Guys?!!
  8. Try this and use Lua tags. function asda(thePlayer,cmd) if getElementData(thePlayer,"admin.number") > 4 then local account = getPlayerAccount(thePlayer) setAccountData(account, "Banned", true) exports.CORtexts:output(getAccountName(getPlayerAccount(thePlayer).." has been banned successfully", thePlayer, 0, 255, 0) else exports.CORtexts:output("You don't have access to use this command", thePlayer, 255, 0, 0) end end addCommandHandler("banaccount", asda) function asda2(thePlayer,cmd) if getElementData(thePlayer,"admin.number") > 4 then local account = getPlayerAccount(thePlayer) setAccountData(account, "Banned", false) exports.CORtexts:output(getAccountName(getPlayerAccount(thePlayer).." has been unbanned successfully", thePlayer, 0, 255, 0) else exports.CORtexts:output("You don't have right to use this command", thePlayer, 255, 0, 0) end end addCommandHandler("unbanaccount", asda2) Thanks for help but that code will work when player be online, i want to setAccountData when player offline or online!!
  9. Guys i made code to set account data to banned/unbanned but IDK why it's nt working any help please?
  10. Guys when i tried to install MTA scripting tool i got this error http://imgur.com/gql1wDv.png Any help please Guys!!!
  11. @Ajax12 I think that there's no server with this IP If Any Admin Can connect to this IP I think it's will timed out and the fake IP is the one which working So Any Admin Please Lock This Topic Becuase it's don't mean any thing
  12. Hello Coummunity Admins there's some used Hacker And Connected to my Server FTP And Deleted all my scripts and copied it then he opened new server with same the name and this is proofs My Chat With him :- http://imgur.com/QHZxE7p,Ivs4Gj7 I hope any staff reply me as soon as. And this is his IP Server :- mtasa://178.61.44.112:22020
  13. hey, MTA Admins Please I need help in my server i have a problem there's Area in LV Have a big problem it's when any one across From this Area All Players in the server get Lag And FPS Go bettwen 3-9 And When He Leave this Area The FPS get Fix And Go up again to the Max FPS in the server And I stopped All the Scripts And All the Maps For This Area And Tested it And Still the Same Proplem And This Make A big problem in the server And This Screen Shots For The Diffrent when be in the Area And out the area in the area :- http://i.imgur.com/hS7E6IB.png out the area :- http://i.imgur.com/R68u4QX.png my server IP :- mtasa://178.33.108.58:22113 And have Another proplem When Any One Search About the server in the internet he can't See it I hope to find a solve for this problems Thanks For Read my Topic
  14. AjaxFTW

    Host Stolen my Money

    First i don't talk about stoping my server I talking about my money in account balance I Need it And Euros Is very Expensive in my country So I need it Soo much Please Transfer it to me I need it Please
  15. Staffs Please I need help I went to Evolution Host To Make Host For My Server Then After Some Months I was Have Money On my account balance Then I was Need it And I asked them to Transfer it to me And Closed my Server And FTP And Accounts And Every thing But they didn't want to give me my money Then I asked them to talk to manager THen Gave me link to Email Them And I want to know if i can get my money again or not.
×
×
  • Create New...