[ESX V1 / ExM] esx_adminplus

Will do when I get home but that’s all I could see for the error, it puts that instead of showing the message back to the sender, the receivers can still see it

Awesome script!, good job.

1 Like

I fixed it if anyone is having the same issue its and easy fix


change it to look like this it needs moving 1 line up

That’s going to send the message twice, it’s supposed to send the message to all admins + your player, his mistake, just keep the line in the same position and instead of xTarget.source pass your source or xPlayer.source

Like what @ShahZaM said, you moved it in the loop,
I will update the code today to fix this problem

I’ll test this later thank you but for me the change I made works fine it does not duplicate it sends it to my chat and the other staffs chat as well, as intended

test
How to insted showing my ingame name (Katoteki Katoteki), to show my steam name???

I’ll take a look into this should be easy enough

You can use GetPlayerName() function instead of xPlayer.getName()

I tried to replace the generic esx admin, mod and superadmin with the ones I use for this script and when I’ve done it people can not use the commands and i am unsure why also does this script not have ban or kick cos I need it and no script I have has it

I tried this it did not work

maybe just search first ?
you didnt even used it right!
you have to use it like : GetPlayerName(playerId)


U sure that I did it wrong first time cos i did it how u said but still broke

did you even specify playerId? or just passing it as a null value ?
print playerId and see if you are doing it right

I just swapped the xplayer out with the one you gave

Why would u use esx_adminplus if you’re using old ESX? es_admin2 does actually have all the commands that this script uses. This is only for new esx/exm users.

Hello guys. (sorry for my bad English)
I use Extendedmode adminplus.
But i need something, and idk how can i made it.
I want to use /revive command, and /heal command.
But everytime i try to add this command i get errors.
Somebody can help me with?

revive and heal already exist on ambulancejob and basicneeds

Yes i know, but its not working for me idk why.