• Content Count

  • Joined

  • Last visited

  • Days Won


JeViCo last won the day on April 21 2018

JeViCo had the most liked content!

Community Reputation

100 Excellent


About JeViCo

  • Rank

Recent Profile Visitors

2,715 profile views
  1. JeViCo

    RPG Time Limiter

    You can create a timer after you switched to the RPG and remove it if you switched to another weapon Use toggleControl("aim_weapon", false) on each onClientWeaponSwitch event triggering and allow to aim when the timer executes out (just insert toggleControl("aim_weapon", true) inside the timer)
  2. 1) Try to use source as the variable name. It may confuse you in future (see pre-defined variables) 2) not (v == source) is similar to v ~= source. Technically the last one is more correct. Also you didn't mention what bugs appear
  3. JeViCo

    RPG Time Limiter

    why don't you use timers to make the delay?
  4. You can kill the timer and recreate it lmao use sourceTimer variable inside timer's callback function
  5. Found community script. Install it and use exported functions
  6. We can't help you until you give us more details. Also, check your debug (/debugscript 3)
  7. Imagine that server has ~100 players on it. You're telling the server to open panel on client-side. The server doesn't know which player you're talking about and it opens it on every single client. This is what happens when you use triggerClientEvent("Start", ThePlayer) To fix it tell the server to use specific client(player) by adding player variable as the first argument: triggerClientEvent(ThePlayer, "Start", ThePlayer) Same thing was shown above BTW this is the single difference between triggerClientEvent and triggerServerEvent
  8. try to use addEvent function below the toggleOnPlayerMove variable
  9. This is the scripting section and not "how to leak scripts"
  10. 1) Fast model loading (high amount of custom models (map & skins & vehicles) takes a lot of time to replace especially on older PCs while loading .img files directly takes a couple of minutes to load everything) 2) Interface enhance (working around main menu mostly)
  11. several servers use custom clients however i get kicked when i try to run some sort of trainer. According to kick reason It looks like default MTA's anti-cheat. Did servers' owners upgrade their anti-cheat or use old version of MTA? Can i increase compatibility manually somehow?
  12. Anti-cheat doesn't work in custom clients (except for SD). It feels like i turned off it manually using <disableac></disableac> Can i enable it somehow? It seems to be a big security issue for custom clients BTW i downloaded it on github on 27.10.2019
  13. I know that variable access speed higher for local variables. Does this work on functions as well? Can i do something like this at the beginning of the script: local tocolor = tocolor local dxGetTextWidth = dxGetTextWidth local dxGetFontHeight = dxGetFontHeight local dxDrawText = dxDrawText local dxDrawImage = dxDrawImage local getElementPosition = getElementPosition local getElementRotation = getElementRotation local getPedCameraRotation = getPedCameraRotation local getDistanceBetweenPoints2D = getDistanceBetweenPoints2D local dxGetMaterialSize = dxGetMaterialSize local getElementData = getElementData