Need help when compiling
#3

Quote:
Originally Posted by Vince
Indent you code in the right way.

pawn Код:
if (strcmp(cmd, "/shout", true) == 0 )
{
  if(IsPlayerConnected(playerid))
  {
    if(gPlayerLogged[playerid] == 0)
    {
      SendClientMessage(playerid, COLOR_GREY, "[!] You must first register or login! Please use !help for commands.");
      return 1;
    }
    new str[256], pname[256];
    GetPlayerName(playerid, pname, 256);
    format(str, 256, "[SHOUT]%s %s", pname, cmdtext[4]);
    SendClientMessageToAll(pCol, str);
    return 1;
  }
}

Quote:

Then i copy this in my script, that two errors won't disappeared, they're still, how i can fix it, without errors?

Sorry. Thanks for the fix i glad because you helped me
Reply


Messages In This Thread
Need help when compiling - by Bubastis - 04.03.2009, 13:27
Re: Need help when compiling - by Vince - 04.03.2009, 13:38
Re: Need help when compiling - by Bubastis - 04.03.2009, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)