Erro of map !
#1

Код:
C:\Documents and Settings\Admin\Desktop\Untitled.pwn(288) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
This my code map http://pastebin.com/KrGyxfhG
Код:
//-----FIN-----------------------------------------------------------------
    return 1;
}


public OnPlayerConnect(playerid)
{
   SendClientMessage(playerid,0xF47A00FF,"Prison d'Alcatraz par: Mehdi-jumper, Bon jeu!");
   return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
        //---------------/gotoprison By Keny Tancredi (mehdi-jumper)------------------

  if (strcmp(cmdtext , "/gotoprison", true) == 0 || strcmp(cmdtext, "/gotop", true) == 0)
     {
          SetPlayerInterior(playerid,0);
          SetPlayerPos(playerid,636.9958,-3497.7510,15.5779);
          SendClientMessage(playerid, 0xF47A00FF,"Bienvenue а la prison d'Alcatraz.");
          return 1;
     }
  return 0;
}
And anybody make me a code to go that pos ?
?
Reply
#2

It's just a warning.

pawn Код:
//-----FIN-----------------------------------------------------------------
    return 1;
}


public OnPlayerConnect(playerid)
{
   SendClientMessage(playerid,0xF47A00FF,"Prison d'Alcatraz par: Mehdi-jumper, Bon jeu!");
   return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    //---------------/gotoprison By Keny Tancredi (mehdi-jumper)------------------

    if (strcmp(cmdtext , "/gotoprison", true) == 0 || strcmp(cmdtext, "/gotop", true) == 0)
    {
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,636.9958,-3497.7510,15.5779);
        SendClientMessage(playerid, 0xF47A00FF,"Bienvenue а la prison d'Alcatraz.");
        return 1;
    }
    return 0;
}
Reply
#3

Quote:
Originally Posted by reckst4r
Посмотреть сообщение
It's just a warning.

pawn Код:
//-----FIN-----------------------------------------------------------------
    return 1;
}


public OnPlayerConnect(playerid)
{
   SendClientMessage(playerid,0xF47A00FF,"Prison d'Alcatraz par: Mehdi-jumper, Bon jeu!");
   return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    //---------------/gotoprison By Keny Tancredi (mehdi-jumper)------------------

    if (strcmp(cmdtext , "/gotoprison", true) == 0 || strcmp(cmdtext, "/gotop", true) == 0)
    {
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid,636.9958,-3497.7510,15.5779);
        SendClientMessage(playerid, 0xF47A00FF,"Bienvenue а la prison d'Alcatraz.");
        return 1;
    }
    return 0;
}
Can you make me a one code to tele that ?
Reply
#4

normally that error is caused when the { }are not positioned correctly.

For example
PHP код:
    if(<something>)
          { 
This could cause a loose identation warning in this line
the { should be under "if" to avoid this warning.
like this:

PHP код:
    if(<something>)
    { 
Reply
#5

next time, this site can help you solve this problem...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)