07.01.2012, 11:10
I used the /ogate to open and then when I got out I done /cgate.
Done it again (/ogate) to see if it was working and it didnt open again :/
Help?:
Commands:
Done it again (/ogate) to see if it was working and it didnt open again :/
Help?:
Commands:
pawn Код:
CMD:ogate(playerid, params[]) {
if(playerVariables[playerid][pGroup] == 5)
if(IsPlayerInRangeOfPoint(playerid, 7.0, -411.60000610352, 1361.6999511719, 31.200000762939))
{
MoveObject(objectname, -411.60000610352, 1362, 14.800000190735, 1);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are either not in range or not apart of the S.A.S!");
}
return 1;
}
pawn Код:
CMD:cgate(playerid, params[]) {
if(playerVariables[playerid][pGroup] == 5)
if(IsPlayerInRangeOfPoint(playerid, 7.0, -411.60000610352, 1361.6999511719, 31.200000762939))
{
MoveObject(objectname2, -411.60000610352, 1361.6999511719, 31.200000762939, 1);
}
else
{
SendClientMessage(playerid, COLOR_RED, "YOu are either not in range or not apart of the S.A.S!");
}
return 1;
}