compound statement not closed at the end of file
#10

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)
return 1;
}
return 0;
}
EDIT: Not sure...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)