For example I want to put it:
if(!strcmp(cmdtext, "/gate", true))
{
if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pMember] == 2|| PlayerInfo[playerid][pMember] == 14 || GetPVarInt(playerid, "AdminDuty")==1 && !(PlayerToPoint(15.0, playerid,2259.098145, -2389.186279, 19.174612) || PlayerToPoint(15.0, playerid,1803.511597, -1721.455688, 12.306467) || PlayerToPoint(15.0, playerid,1761.343262, -1699.028931, 12.676054)))
{
if (PlayerToPoint(15.0, playerid,1589.053344,-1638.123168,14.122960))
{
if(pdgateopen == 1)
{
SendClientMessage(playerid,COLOR_GREY," The Gate is already open !");
return 1;
}
pdgateopen = 1;
MoveObject(pdgate1,1596.790039, -1638.102173, 13.882034, 2.0);
SetTimer("GateClose", 15000, 0);
SendClientMessage(playerid, COLOR_WHITE,"A garage is opened and will close in 15 seconds.");
GetPlayerName(playerid, sendername, sizeof(sendername));
GiveNameSpace(sendername);
if(PlayerInfo[playerid][pMaskUse] == 1) { format(sendername, sizeof(sendername), "Stranger_%d", PlayerInfo[playerid][pRandMask]); }
format(string, sizeof(string), "* %s takes their remote and opens a garage.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
}
Where I do that?