[Ajuda]Erros
#1

pawn Код:
public lol(playerid)
{
    for (new i=0;i<MAX_PLAYERS;i++)
    {
    if(PlayerInfo[playerid][Logged] == 0)
    {
        if(IsPlayerInPlace(i, 987.8362, -1382.3101, 1029.6898, -1340.4981))
        {
            //funcoes
        }
        else
        {
            //funcoes        
        }
        else if(IsPlayerInPlace(i, 1543.105, -1160.76, 1847.332, -979.1639))
        {
            //funcoes
        }
        else
        {
            //funcoes
        }
        else if(IsPlayerInPlace(i, 838.0192, -560.1873, 879.4967, -617.2527))
        {
            //funcoes
        }
        else
        {
            //funcoes
        }
    }
    }
    return 1;
   
}
Код:
(30316) : error 029: invalid expression, assumed zero
(30316) : warning 215: expression has no effect
(30316) : error 001: expected token: ";", but found "if"
(30327) : error 029: invalid expression, assumed zero
(30327) : warning 215: expression has no effect
(30327) : error 001: expected token: ";", but found "if"
as linhas de erros sao as das "else if"

o objetivo dessa callback й verificar se o player esta em alguma das areas.. e executar suas funcoes conforme a area que ele ta..

se alguem poder me ajudar, agradesso =)
Reply


Messages In This Thread
[Ajuda]Erros - by DrTHE - 31.12.2011, 15:41
Re: [Ajuda]Erros - by Adrian Fahrenheit Tepes - 31.12.2011, 16:13
Re: [Ajuda]Erros - by DrTHE - 31.12.2011, 16:22
Re: [Ajuda]Erros - by DrTHE - 31.12.2011, 17:50
Re: [Ajuda]Erros - by Adrian Fahrenheit Tepes - 31.12.2011, 18:07
Re: [Ajuda]Erros - by [O.z]Caroline - 31.12.2011, 18:17
Re: [Ajuda]Erros - by DrTHE - 31.12.2011, 18:26
Re: [Ajuda]Erros - by [O.z]Caroline - 31.12.2011, 18:38
Re: [Ajuda]Erros - by DrTHE - 31.12.2011, 18:50
Re: [Ajuda]Erros - by Adrian Fahrenheit Tepes - 31.12.2011, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)