help in a command
#4

Quote:
Originally Posted by javedali1211
Посмотреть сообщение
Код:
CMD:mydoor(playerid, params[])
{
    if(PlayerInfo[playerid][pDoor1] == 1)
    {
       SetPlayerCheckpoint(playerd,DDinfo[pDoor1][Ex],DDinfo[pDoor2][Ey],DDinfo[pDoor3][Ez], 3.0);
    }
    else
    {
        SendClientMessage(playerid, COLOR_WHITE, "You don't own a door.");
    }
    return 1;
}
pDoor1 = Door1 ]
pDoor2 = Door2 ] => Player can own 3doors, like, pDoor1 = Doorid 12 | pDoor2 = Doorid 13 | pDoor3 = Doorid14
PDoor3 = Door3 ]

so the player owns 3 doors (12+13+14)
if i use your command, it won't work..
Reply


Messages In This Thread
help in a command - by BrianS123 - 01.09.2016, 12:57
Re: help in a command - by javedali1211 - 01.09.2016, 13:03
Re: help in a command - by Shinja - 01.09.2016, 13:06
Re: help in a command - by BrianS123 - 01.09.2016, 13:06
Re: help in a command - by BrianS123 - 01.09.2016, 13:08
Re: help in a command - by BrianS123 - 01.09.2016, 13:12

Forum Jump:


Users browsing this thread: 1 Guest(s)