I've got a issue
#1

What does this mean? I can't get my scirpt compiled till i figure out what this error means

Код:
D:\sa-mp server\gamemodes\SLRP.pwn(34402) : fatal error 102: table overflow: "loop table"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
The line it saying it's on

pawn Код:
while ((idx < length) && (cmdtext[idx] <= ' '))
I did some searchin on the forums and never found anything
Reply
#2

Maybe try this

Код:
while ((idx < length) && (cmdtext[idx] <= 32))
Reply
#3

Quote:
Originally Posted by mprofitt
Maybe try this

Код:
while ((idx < length) && (cmdtext[idx] <= 32))
Same error.

The command it's under

pawn Код:
if(strcmp(cmd, "/do", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= 32))
{
idx++;


new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;


result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GREY, "[CMDINFO] - /do [Action]");
return 1;


format(string, sizeof(string), "*%s (%s)",result, sendername);
ProxDetector(20.0, playerid, string,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
printf("%s", string);
return 1;


return 1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)