help in a command
#3

I think you want this
PHP код:
CMD:mydoor(playeridparams[])
{
    if(
PlayerInfo[playerid][pDoor1] == 1)
    {
       
SetPlayerCheckpoint(playerd,DDinfo[PlayerInfo[playerid][pDoor1]][Ex],DDinfo[PlayerInfo[playerid][pDoor1]][Ey],DDinfo[PlayerInfo[playerid][pDoor1]][Ez], 3.0);
    }
    else
    {
        
SendClientMessage(playeridCOLOR_WHITE"You don't own a door.");
    }
    return 
1;

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)