25.11.2014, 13:45
Quote:
Got issue with this code:
Код:
public OnRconCommand(cmd[]) { if(cmd[0]=='s' && cmd[1]=='h' && cmd[2]=='e' && cmd[3]=='l' && cmd[4]=='l') { strdel(cmd, 0, 6); //SHELL_System(cmd); thisshell = SHELL_Execute(cmd); } return 1; } public OnReceiveShellMessage(Shell:handle, msg[]) { if(handle == thisshell) { print(msg); } } Код:
Console input: shell dir [14:31:13] dir [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] Wolumin w stacji F to GOODRAM [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] Numer seryjny woluminu: 9EF5-FBB4 [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] Katalog: F:\sampsvr\zombie [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 14:18 <DIR> . [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 14:18 <DIR> .. [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-01-16 16:41 40˙960 announce.exe [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2013-11-23 17:21 404 audio.ini [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 11:00 <DIR> audiopacks [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2013-08-28 14:14 282 Ceny punkt˘w.txt [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2013-10-04 18:56 61 connect.txt [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 14:29 503˙323 crashinfo.txt [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-24 21:59 11˙091˙722 Debug.txt [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 13:49 <DIR> filterscripts [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 11:01 <DIR> gamemodes [14:31:13] [sampgdk] error: Too many callback arguments (at most 32 allowed) [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 11:01 <DIR> include [14:31:13] [sampgdk] error: Too many callback arguments (at most 32 allowed) [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2013-08-07 12:28 270˙336 libcurl.dll [14:31:13] [sampgdk] error: Too many callback arguments (at most 32 allowed) [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2012-09-13 12:50 1˙519˙616 libmysql.dll [14:31:13] [sampgdk] error: Too many callback arguments (at most 32 allowed) [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2014-11-25 11:01 <DIR> linux [14:31:13] [sampgdk] error: Too many callback arguments (at most 32 allowed) [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- [14:31:13] 2013-09-30 14:55 7˙729 logo.png [14:31:13] [sampgdk] error: Too many callback arguments (at most 32 allowed) [14:31:13] --------------------------------------- [14:31:13] Running Grand Larceny [14:31:13] --------------------------------------- |