14.03.2012, 19:02
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;
}
}
}