22.06.2012, 07:51
Quote:
Hey, Yeah i know all of this but i need to make it (only for company members or only for house owners.)
|
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;
}