Compiling errors
#1

new error:


C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : warning 225: unreachable code
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : warning 217: loose indentation
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : error 029: invalid expression, assumed zero
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84144) : error 017: undefined symbol "cmdtext"
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84146) : error 017: undefined symbol "cmdtext"
C:\Users\Milan\Documents\Nieuwe map\larp.pwn(84157) : error 030: compound statement not closed at the end of file (started at line 84000)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


script starting at line 84144

Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
    if(!strcmp(cmdtext, "/entermech", true))
    {
        if(!IsPlayerInRangeOfPoint(playerid,5,1790.2391,-1720.8370,13.5395))
        {
            SetPlayerPos(playerid,-2029.798339,-106.675910,1035.171875);
            SetPlayerInterior(playerid,3);
            GameTextForPlayer(playerid,"Welcome to Cobomau Mechanics",4000,6);
            return 1;
        }
    }
}
Reply


Messages In This Thread
Compiling errors - by milanosie - 03.01.2012, 12:47
Re: Compiling errors - by Ironboy - 03.01.2012, 12:50
Re: Compiling errors - by Konstantinos - 03.01.2012, 12:50
Re: Compiling errors - by Kaperstone - 03.01.2012, 12:51
Re: Compiling errors - by Konstantinos - 03.01.2012, 12:52
Re: Compiling errors - by milanosie - 03.01.2012, 13:11
Re: Compiling errors - by Konstantinos - 03.01.2012, 13:13
Re: Compiling errors - by milanosie - 03.01.2012, 13:36
Re: Compiling errors - by milanosie - 03.01.2012, 16:24
Re: Compiling errors - by #Pwn. - 03.01.2012, 16:31

Forum Jump:


Users browsing this thread: 5 Guest(s)