Compiling errors
#3

It compiles for me now!
pawn Код:
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;
        }
    }
    return 0;
}
However, about the undefined symbol "cmdtext", I don't know why.

Edit: Ironboy was faster
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: 2 Guest(s)