Posts: 16
Threads: 8
Joined: Jan 2014
Reputation:
0
So i wonder if there is a way to do so if an admin is on-duty and tries to /q, it will not allowe the person and it will send a message like "You need to go off-duty before quitting"?
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
It's built in SAMP, you cannot stop it in your script, and they could just use the ESC menu or crash to leave anyways.
You'll have to disable their admin duty in OnPlayerDisconnect.
Posts: 724
Threads: 14
Joined: Jul 2012
Reputation:
0
No, /q is a client command. Just do what you need in the OnPlayerDisconnect callback.