Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/08/20 in all areas

  1. A combination. - hit events is for starting the timer. - The timer is used to check if everybody is inside of the colshape meets all the criteria. Like if everybody is still alive or inside of a vehicle. For a basic script, bandwidth is only used when a player hits or leaves a colshape. You do not have control over that, since it is always working even if you do not add eventHandlers. But keep in mind that if you use that timer to synchronize the same information over and over, sure that can be bad.
    1 point
  2. After getting a new PC. I think all the graphics settings on, shows amazing promise of work. It doesn't lag or cause fps drop with GTX 1650 at all.
    1 point
  3. احس الفكره كويسه إذا كان فيه اكثر من قيم مود, عشان اللاعبين ينوعون مابينها, كذا احس حدك ساعه وتطفش, عموماً مشكور على الموضوع.
    1 point
  4. E getKeyState. Também pode ser feito com a função bindKey no lugar do evento.
    1 point
  5. Sim, é possível. Use o evento onClientKey.
    1 point
  6. So... You download my gamemode from somewhere or by someone who leaked it previously https://github.com/rivor/pubg-mta/ and by making play button uglier you call it your own pubg 2.0? Lol
    1 point
  7. First you need to know what concatenation is: outputChatBox("snow".."ball") --prints "snowball" local str = "ball" outputChatBox("snow"..str) --prints "snowball" as well local str = false -- false and true are booleans outputChatBox("snow"..str) -- Error: attempt to concatenate a boolean value You cannot concatenate a boolean value to a string (so true or false) But you can convert this value to a string by using tostring(myValue): local str = false outputChatBox("snow"..tostring(str)) -- prints "snowfalse" According to the wiki page of getTeamName, this function returns false if the 1st argument was not a valid team. So the problem comes from teamName which is not a valid team name. Try to print it to see what you get and if you can fix the problem yourself, please show us the function that triggers that event. You should find something like: triggerEvent("onPlayerChooseTeam", ... (This event might be called from client side, so maybe triggerClientEvent instead.) (Is this event coming from another resource ? If yes, then please give us the link.) I hope my explainations was clear, simple and helpful.
    1 point
×
×
  • Create New...