Open doors with one cmd
#3

pawn Код:
CMD:door(playerid, params[])
{
    if(!IsPlayerInRangeOfPoint(playerid, 1.8, 163.88570, 2510.17822, -89.91240))
    {
        SendClientMessage(playerid, lightblue, "You're not at lounge room enterance!");
        MoveObject(LoungeRoom, 163.88570, 2508.83838, -89.91240, 2.0);
    }
    else if(!IsPlayerInRangeOfPoint(playerid, 1.8, 168.4030,2489.5740,-88.9141))
    {
        SendClientMessage(playerid, lightblue, "You're not at Guard office enterance!");
        MoveObject(GuardRoom, 166.34940, 2489.65137, -89.93290, 2.0);
    }
    else if(!IsPlayerInRangeOfPoint(playerid, 1.8, 163.88570, 2510.17822, -89.91240))
    {
        SendClientMessage(playerid, lightblue, "You're not at lounge room enterance!");
        MoveObject(LoungeRoom, 163.88570, 2510.17822, -89.91240, 2.0);
    }
    else if(!IsPlayerInRangeOfPoint(playerid, 1.8, 168.4030,2489.5740,-88.9141))
    {
        SendClientMessage(playerid, lightblue, "You're not at Guard office enterance!");
        MoveObject(GuardRoom, 167.66940, 2489.65137, -89.93290, 2.0);
    }
    return 1;
}
Reply


Messages In This Thread
Open doors with one cmd - by thaKing - 03.06.2014, 12:40
Re: Open doors with one cmd - by rockhopper - 03.06.2014, 12:46
Re: Open doors with one cmd - by Youice - 03.06.2014, 12:46
Re: Open doors with one cmd - by Konstantinos - 03.06.2014, 12:48
Re: Open doors with one cmd - by thaKing - 03.06.2014, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)