Need some help for Gates
#4

Quote:
Originally Posted by se7evolution
Посмотреть сообщение
Hey, Yeah i know all of this but i need to make it (only for company members or only for house owners.)
Alright then, If you have pLeader defined or something, you can do this:
pawn Код:
if (strcmp("/openmygate", cmdtext, true, 10) == 0)
{
        if(PlayerInfo[playerid][pLeader] >= (faction ID)
        {
        MoveObject(object, and then type here the new coordinates when it's opened,and now the speed you want the gate to open);
        SetTimer("close", 7000, 0); //7000 = 7seconds
        return 1;
}
Also, add the faction ID without the " ( ) "
Reply


Messages In This Thread
Need some help for Gates - by se7evolution - 22.06.2012, 07:30
Re: Need some help for Gates - by Mr.1337 - 22.06.2012, 07:46
Re: Need some help for Gates - by se7evolution - 22.06.2012, 07:48
Re: Need some help for Gates - by Mr.1337 - 22.06.2012, 07:51
Re: Need some help for Gates - by se7evolution - 22.06.2012, 08:09

Forum Jump:


Users browsing this thread: 1 Guest(s)