Help, Errors
#10

pawn Код:
if( == 0)
That seems to cause the errors now,
Here is the code,

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/opengate", cmdtext, true, 10) == 0)
    {
        if(!PlayerToPoint(10, playerid,CreateObject(969, 1591.6506347656, -1637.8186035156, 12.640459060669, 0.000000, 0.000000, 0.000000))) { return 1; }
        if( == 0)
        {
         = 1;
        MoveObject(PD_Gate,CreateObject(969, 1584.2933349609, -1637.7700195313, 12.390459060669, 0.000000, 0.000000, 0.000000); //,7);
        }
        else if( == 1)
        {
         = 0;
        MoveObject(,CreateObject(969, 1591.6506347656, -1637.8186035156, 12.640459060669, 0.000000, 0.000000, 0.000000); //,7);
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Help, Errors - by Luis- - 24.06.2010, 21:46
Re: Help, Errors - by Luis- - 24.06.2010, 22:17
Re: Help, Errors - by oliverrud - 24.06.2010, 22:18
Re: Help, Errors - by Luis- - 24.06.2010, 22:21
Re: Help, Errors - by Kar - 24.06.2010, 22:24
Re: Help, Errors - by oliverrud - 24.06.2010, 22:25
Re: Help, Errors - by Luis- - 24.06.2010, 22:29
Re: Help, Errors - by Kar - 24.06.2010, 22:30
Re: Help, Errors - by Luis- - 24.06.2010, 22:32
Re: Help, Errors - by Luis- - 24.06.2010, 22:36

Forum Jump:


Users browsing this thread: 1 Guest(s)