Coding a gate [Errors/+rep]
#5

Daddy Yankee, please post code that works.

This works.
pawn Код:
CMD:rbmgateopen(playerid, params[])
{
    if(playerVariables[playerid][pGroup] == 4)
    {
        if (IsPlayerInRangeOfPoint(playerid, 5, 1013.40002441,-1542.09997559,16.10000038) && GetPlayerInterior(playerid) == 0)
       {
              MoveObject(RBMGate, 1013.40002441,-1542.09997559,16.10000038, 5);
              return 1;
       }
    }
    return 1;
} //Error
Reply


Messages In This Thread
Coding a gate [Errors/+rep] - by Jack.7331 - 14.03.2012, 18:31
Re: Coding a gate [Errors/+rep] - by Daddy Yankee - 14.03.2012, 19:02
Re: Coding a gate [Errors/+rep] - by Jack.7331 - 14.03.2012, 19:11
Re: Coding a gate [Errors/+rep] - by Daddy Yankee - 14.03.2012, 19:14
Re: Coding a gate [Errors/+rep] - by ReneG - 14.03.2012, 19:15
Re: Coding a gate [Errors/+rep] - by Jack.7331 - 14.03.2012, 19:19
Re: Coding a gate [Errors/+rep] - by Daddy Yankee - 14.03.2012, 19:23
Re: Coding a gate [Errors/+rep] - by Jack.7331 - 14.03.2012, 20:56

Forum Jump:


Users browsing this thread: 7 Guest(s)