SA-MP Forums Archive
Quiting SA-MP. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Quiting SA-MP. (/showthread.php?tid=136761)



Quiting SA-MP. - Zh3r0 - 26.03.2010

Well, here's the problem.
I want that when a player presses for example "Exit" button in a dialog, his SA closes.
I don't want to kick/ban him for doing this.
Tried with SendCommand but dunno wut happened.

I would love you guys if you will make this

TY


Re: Quiting SA-MP. - Finn - 26.03.2010

Can't close the game of a player with any function.

Crashing the game is different thing, but I don't think it's smart to crash your players' PCs.


Re: Quiting SA-MP. - MenaceX^ - 26.03.2010

Can't do.


Re: Quiting SA-MP. - Cody_Jones - 26.03.2010

Umm Lemme Try To DO Something For YOu


Re: Quiting SA-MP. - Finn - 26.03.2010

Quote:
Originally Posted by Cody_Jones
This Is The Easiest Way To Do It

Код:
Kick(giveplayerid);
Quote:
Originally Posted by PlayON
I don't want to kick/ban him for doing this.



Re: Quiting SA-MP. - gotenks918 - 26.03.2010

Have the dialog say press Alt + F4 :P


Re: Quiting SA-MP. - Headshot1108 - 26.03.2010

do that the player type automatic the command "/q" but i dont know whether it work.


Re: Quiting SA-MP. - Zh3r0 - 26.03.2010

Quote:
Originally Posted by gotenks918
Have the dialog say press Alt + F4 :P
Hmm...Isn't there a way for him to type /Q ?
Like SendCommand wich doesn't work...

Headshot, just like that!


Re: Quiting SA-MP. - Zh3r0 - 26.03.2010

Quote:
Originally Posted by » ραωпsтαг «
Nope, /quit || /q == client sided command. Maybe would be a nice thing to add in 0.3b. The ability to send a player to another server, or the ability to close their game using a function. Maybe having /quit as a server sided command, that'd be so neat.
Yea, believe me or not, i tought about this idea just before your post.
To send a player to another server, that would rock.
Well..sadlyi have to kick the bastard instead of quiting him. Beh.
Thanks all