compound statement not closed at the end of file
#7

That is the whole Onplayercommand
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if (!IsPlayerConnected(playerid)) return 0;

    new string[MAX_STRING];
    new cmd[MAX_STRING];
    new giveplayerid, moneys, idx, weaponid;
    new tmp[MAX_STRING], tmp2[MAX_STRING], tmp3[MAX_STRING];
    new Float:x, Float:y, Float:z;

  cmd = strtok(cmdtext, idx);
    strmid(tmp, cmd, 1, strlen(cmd));
    for (new k=0;tmp[k];k++) {
        if ('a' <= tmp[k] <= 'z' || 'A' <= tmp[k] <= 'Z' || 0 <= tmp[k] <= 9) {
        }
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)