SERVER: Unknown Command, execution stops
#1

pawn Код:
//top of the script
#define RATING_PLACES 200

enum ValueData
{
    fValue,
    fName[MAX_PLAYER_NAME]
}
new Temp[RATING_PLACES][ValueData];


//in one of my functions
if(value > Temp[i][fValue] || !Temp[i][fValue])
{
  if(strcmp(playername, Temp[i][fName],false))
  {
     for (new j=RATING_PLACES-1; j > i; j--)
     {
       Temp[j][fValue] = Temp[j-1][fValue]; //from here loop stops working and all the code below is not executed
       set(Temp[j][fName],Temp[j-1][fName]);
     }
  }
//sendclientmessage here
//instead of it ^, I got "SERVER: Unknown Command"
}
The script compiles perfectly with no errors and warnings
That's confusing, I thought it might be something with #pragma dynamic, but...
Help,please...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)