LxnxFree Posted January 19, 2020 Posted January 19, 2020 (edited) I need a script with which I can teleport to a player with / tp (player id) who could help me? Edited January 19, 2020 by LxnxFree
XCRON Posted January 19, 2020 Posted January 19, 2020 mp.events.addCommand('kick', (player, target) => { let newTarget = mp.players.at(target); if(!target || isNaN(target)) return player.outputChatBox("Syntax: /kick [playerID]"); if(newTarget === null) return player.outputChatBox("There is no player online with the ID given.") newTarget.outputChatBox("You have been kicked from the server."); newTarget.kick('Kicked.'); }); https://wiki.rage.mp/index.php?title=Player::kick
LxnxFree Posted January 19, 2020 Author Posted January 19, 2020 Thanks I need a script with which I can teleport to a player with / tp (player id) who could help me?
XCRON Posted January 19, 2020 Posted January 19, 2020 Dude, this is your way: https://wiki.rage.mp/index.php?title=Main_Page There is all what you need.
Joshua Posted January 25, 2020 Posted January 25, 2020 On 1/19/2020 at 10:50 AM, LxnxFree said: Thanks I need a script with which I can teleport to a player with / tp (player id) who could help me? Should try a smaller font my dude.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now