Open only faction
#6

THE_KNOWN, has told you how to do that.

pawn Код:
if(strcmp(cmdtext, "/groveo", true)==0) // Command
{
    if(Your table is called the Faction != 14)return SendClientMessage(playerid, YOUR_COLOR_COMMAND, "* You're not in faction Groove Street.");
    MoveObject (gate,2478.1059570313,-1695.9339599609,14.231301307678,2); // Gate (open)
    SendClientMessage(playerid, COLOR_GREEN, "Gate is open!");
    return 1;
}
       
if(strcmp(cmdtext, "/grovec", true)==0)
{
    if(Your table is called the Faction != 14)return SendClientMessage(playerid, YOUR_COLOR_COMMAND, "* You're not in faction Groove Street.");
    MoveObject (gate,2473.78808594,-1691.76757812,14.23004055,2); // Gate (close)
    SendClientMessage(playerid, COLOR_RED, "Gate is close!");
    return 1;
}
       
if(!strcmp(cmdtext, "/grove", true)) // commands
{
    SendClientMessage(playerid, COLOR_YELLOW, "/groveo - open");
    SendClientMessage(playerid, COLOR_YELLOW, "/grovec - close");
    return 1;
}
Reply


Messages In This Thread
Open only faction - by Donn1 - 04.03.2011, 14:48
Re: Open only faction - by antonio112 - 04.03.2011, 15:22
Re: Open only faction - by THE_KNOWN - 04.03.2011, 16:05
Re: Open only faction - by Donn1 - 04.03.2011, 16:34
Re: Open only faction - by Donn1 - 04.03.2011, 17:07
Re: Open only faction - by Riddick94 - 04.03.2011, 17:11
Re: Open only faction - by Donn1 - 04.03.2011, 17:48
Re: Open only faction - by Donn1 - 04.03.2011, 18:35
Re: Open only faction - by Mean - 04.03.2011, 21:24
Re: Open only faction - by Marricio - 04.03.2011, 21:28

Forum Jump:


Users browsing this thread: 6 Guest(s)