Jump to content

Recommended Posts

Posted (edited)

hi folks.

i don't have acces to server where i play. i wanna to understand is that possible to create simple client chat command and not manage it on server but manage it locally only.
for example 

index.js

mp.events.add("playerChat", (text) => {
     if (text === "test") {
          mp.gui.chat.push("You wrote 'test' in chat.");
          log.something.to.file;
     }
});

client not regiter my command. may be i put in wrong folder. 

GTA5RP\RageMP\client_resources\downtown.gta5rp.com_22005\ here is placed resources for server where i playing but when launcher started it delete my files. they not loading even if i put them there after client start.

if that is possible then please specify what files and in what folders should be for registering that event.

thanks in advance folks!

Edited by untoha
Posted (edited)

thanks a lot but i dont wanna my own server. is it possible to just log to file locally if in chat text=="test" while playing on another server without access to server side?

Edited by untoha
Posted

No, it is not possible and I don't think that server owners would like that, even if its only local, why would you want to do such manipulations?

Posted (edited)

i wanna create logging of deserters.

they take armor+gun on faction title|spawn but then leave and do not take part in events.
for that i wanna to log players that is close to me. i thought to do this by make them type + in local chat where i see their nickname and log them.

i'm not a server dev i'm just regular player so i don't have access to server for that =(

Is that possible to implement this somehow?

Edited by untoha
Posted (edited)

its possible by tesseract ocr but it looks ugly as mtfkr...

 

thank you for your answer.

Edited by untoha
Posted
1 час назад, untoha сказал:

its possible by tesseract ocr but it looks ugly as mtfkr...

 

thank you for your answer.

Not. For this they are banned. It's almost like a cheat.

Posted
22 hours ago, untoha said:

thanks a lot but i dont wanna my own server. is it possible to just log to file locally if in chat text=="test" while playing on another server without access to server side?

If you get access to the client side of the server, then you get the option to get access to the server side. It is not safe.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...