SA-MP Forums Archive
Call a command - 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: Call a command (/showthread.php?tid=217074)



Call a command - [DK]Dark_Knight - 27.01.2011

hey

when a player disconnects i want the server to automaticly make them type a command

Help?


Re: Call a command - Grim_ - 27.01.2011

pawn Код:
public OnPlayerDisconnect( playerid, reason )
{
    OnPlayerCommandText( playerid, "command_here" );
    return 1;
}