Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/19/20 in all areas

  1. The only reason I didn't post to Github because its just one file. But I'll try to make a repo anyways
    1 point
  2. mp.events.addCommand('heal', (player, _, playerID, health) => {// ok admin if (playerID && playerID.trim().length > 0 && health) { const giveplayer = findRageMpPlayer(playerID); if (giveplayer) { if (health >= 0 || health <= 100) { giveplayer.health = health; } else return player.outputChatBox(`[Usage]: /heal [PlayerID/PartieDuNom] [Ammount]`); } else return player.notify(`Player not connected`); } else return player.outputChatBox(`[Usage]: /heal [PlayerID/PartieDuNom] [Ammount]`); }); function findRageMpPlayer(playerNameOrPlayerId) { if (playerNameOrPlayerId == parseInt(playerNameOrPlayerId)) { return mp.players.at(playerNameOrPlayerId); } else { let foundPlayer = null; mp.players.forEach((rageMpPlayer) => { if (rageMpPlayer.name.toLowerCase().startsWith(playerNameOrPlayerId.toLowerCase())) { foundPlayer = rageMpPlayer; return; } }); return foundPlayer; } }
    1 point
  3. Get door hash here : https://plebmasters.de/?app=objects or here https://cdn.rage.mp/public/odb/index.html Get door position from a command /save Server-side: mp.events.addCommand('save', (player) => { console.log(`${player.position.x}, ${player.position.y}, ${player.position.z}, ${player.heading}`); }); console.log write your server folder in file .output Client-side, remove object: Client-side exemple: mp.game.entity.createModelHide(-877.8521118164062, 20.00386619567871, 45.253021240, 10.0, -844827165, true);
    1 point
    haha, gun make cash register go brrrrrrr
    1 point
  4. r1vas, dear r1vas.. Im here to ask you, please, PLEASE, POST THIS THREAD ON YOUR SERVER'S FORUM, PLEASE, I and many forum-readers want this, please, I am sure thay if you do this, you will keep the forum cleaner, PLEASE, and sry for my english.
    1 point
    tnx so much, gonna using this in post brexit Britain to stopping guns and knives to coming into regards Her Royal Highness' Government of the United Kingdom of Great Britain and Northern Ireland
    1 point
  5. Hello, My name is NaughtyNerd or Lars. Call me whatever you want. I am from the Netherlands and I am 22 years old. I have been playing MTA for quite time and I would like to step it up. The big question is that I need a team. I know how to organize, setting things up, website-related stuff etcetera.. Just not how to code! I will keep it short for now, you can ask me all the questions you want or contact me through Discord later on. The things I can offer: Assistance with everything you need. A hosting. ( Monthly bills ). I do have a website forum license which is called Xenforo. It's a $160 dollar license. It's up to date till late 2020. I am planning on buying some good addons for that aswell. I know a server costs money and that i will have to invest. Are you willing to help me? If so, what could you do for me? Any questions, let me know!
    1 point
×
×
  • Create New...