I really need help
#2

Well , i have made them for you by fast typing (and copying) if there any mistakes please remind me.
pawn Код:
CMD:dooropen(playerid,params[])
{
    if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287))
    {
        MoveObject(pdoor3,1811.73828125+1,-1545.82873535,5699.42480469,0.50);
        MoveObject(pdoor4,1808.73071289-1,-1545.87463379,5699.42480469,0.50);
    }
    return 1;
}
CMD:pdooropen(playerid,params[])
{
    if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287) || PlayerToPoint(2.0,playerid,1810.3752,-1548.3003,5700.4287))
    {
        MoveObject(pdoor1,1808.76147461-1,-1547.63208008,5699.42480469,0.50);
        MoveObject(pdoor2,1811.76184082+1,-1547.60510254,5699.42480469,0.50);
    }
    else SendClientMessage(playerid, 0xAA3333AA, "[Error]: {FFFFFF} You are not around a control pad!");
    return 1;
}
CMD:doorclose(playerid,params[])
{
    if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287))
    {
        MoveObject(pdoor3,1811.73828125,-1545.82873535,5699.42480469,0.50);
        MoveObject(pdoor4,1808.73071289,-1545.87463379,5699.42480469,0.50);
    }
    return 1;
}
CMD:pdoorclose(playerid,params[])
{
    if(PlayerToPoint(2.0,playerid,1812.0830,-1545.2319,5700.4287) || PlayerToPoint(2.0,playerid,1810.3752,-1548.3003,5700.4287))
    {
        MoveObject(pdoor1,1808.76147461,-1547.63208008,5699.42480469,0.50);
        MoveObject(pdoor2,1811.76184082,-1547.60510254,5699.42480469,0.50);
    }
    else SendClientMessage(playerid, 0xAA3333AA, "[Error]: {FFFFFF} You are not around a control pad!");
    return 1;
}
Reply


Messages In This Thread
I really need help - by PrinceOfPersia - 31.12.2013, 19:33
Re: I really need help - by SilentSoul - 31.12.2013, 19:40
Re: I really need help - by PrinceOfPersia - 31.12.2013, 19:40
Re: I really need help - by PrinceOfPersia - 31.12.2013, 19:47
Re: I really need help - by SilentSoul - 31.12.2013, 19:49
Re: I really need help - by NikO1 - 31.12.2013, 19:54
Re: I really need help - by PrinceOfPersia - 31.12.2013, 19:56
Re: I really need help - by SilentSoul - 31.12.2013, 19:57
Re: I really need help - by PrinceOfPersia - 31.12.2013, 20:12
Re: I really need help - by SilentSoul - 31.12.2013, 20:24

Forum Jump:


Users browsing this thread: 1 Guest(s)