2 questions - 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: 2 questions (
/showthread.php?tid=105416)
2 questions -
D1ma - 29.10.2009
theres is a function that closing dialog that is opened for player?
and another thing:
i'm trying to do that the player write the command:
/Q or /QUIT
i tried
OnPlayerCommandText(playerid,"/q");
or
CallRemoteFunction("OnPlayerCommandText","is",play erid,"/q");
but that doesn't work
Re: 2 questions -
V1ceC1ty - 29.10.2009
Quote:
Originally Posted by D1ma
i'm trying to do that the player write the command:
/Q or /QUIT
i tried
OnPlayerCommandText(playerid,"/q");
or
CallRemoteFunction("OnPlayerCommandText","is",play erid,"/q");
but that doesn't work
|
/q will always quit sa-mp.
Re: 2 questions -
dice7 - 29.10.2009
/q is a client command, not script one. You can't close a client with a server unless you crash it