question
#1

is possible to stop the command /quit or /q ? i want make some like u press /quit and a dialog show and say do you want to save your pos? its possible to block the quit command ?
Reply
#2

no, what would be the point? they'd just quit using the menu if you did.
Reply
#3

No its a native sa-mp command. There is no way to block it.
Reply
#4

damnt :/ xD
Reply
#5

You can only ban / kick for advertising this command.
Reply
#6

i would try
pawn Код:
dcmd_q(playerid,params[])
{
       SendClientMessage(playerid,red,"Your gay");
       return 1;
}
not tested
Reply
#7

That won't work, sa-mp bypasses those commands making them do nothing. I suggest you do a cmd where he can choose to save or don't save his co-ordinates after disconnecting from the game. And i suggest saving his opinion to file for him to not choose every time he connects or smth.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)