Help with my code
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/aup", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid, 7.0, 949.50, -1468.24, 17.39))
        { //here
        MoveObject(elevator1, 950.55139160156, -1468.2270507813, 16.267026901245, 2.00);
        MoveObject(elevator2, 949.18682861328, -1468.2270507813, 16.267026901245, 2.00);
        MoveObject(elevator3, 947.82708740234, -1468.2270507813, 16.267026901245, 2.00);
        return 1;
    }
    return 0;
}
You put a '(' instead '{'
Reply


Messages In This Thread
Help with my code - by Amator - 20.01.2011, 17:14
Re: Help with my code - by WillyP - 20.01.2011, 17:15
Re: Help with my code - by Amator - 20.01.2011, 17:16
Respuesta: Help with my code - by [M]xFire - 20.01.2011, 17:17
Re: Respuesta: Help with my code - by DVDK - 20.01.2011, 17:38

Forum Jump:


Users browsing this thread: 3 Guest(s)