08.03.2014, 12:54
Hi,
If I write a command long than 32 characters, crashdetect shows me:
This happens on doesn't exist commands and returns "Server: Unknown Command", normally it should return SendClientMessage(playerid,-1,"Wrong command!");
If I write a command long than 32 characters, crashdetect shows me:
Код:
[23:04:06] [23:04:18] [debug] Run time error 4: "Array index out of bounds" [23:04:18] [debug] Accessing element at index 32 past array upper bound 31 [23:04:18] [debug] AMX backtrace: [23:04:18] [debug] #0 00009f30 in public OnPlayerCommandText (playerid=7, cmdtext[]=@0x0134c7c8 "/sarkihttp://www.youtube.com/watch?...") at C:\....\include\zcmd.inc:94