gate open from skins
#5

pawn Код:
if (PlayerToPoint(30.0, i, 15980.288696, -16387.887085, 14.706839)) //Is the player at the gate?
{ //If yes, then:
    new skin = GetPlayerSkin(playerid); //"skin" now gets the player's skin ID.
    if((skin == 288) || (skin == 281) || (skin == 282) || (skin == 283)) //Does the player have the right skin?
    { //If yes, then:
        MoveObject(lsgate, 15987.288696, -16387.887085, 14.706839, 4);
        SetTimerEx("CloseAPGate", 1000, 0, "ii", 4, i);
    }
}
Ah yea, and use public "CheckAPGates(playerid)".
Reply


Messages In This Thread
gate open from skins - by Log1teCk - 02.12.2009, 16:28
Re: gate open from skins - by CaHbKo - 02.12.2009, 16:41
Re: gate open from skins - by Log1teCk - 02.12.2009, 16:44
Re: gate open from skins - by Mike Garber - 02.12.2009, 16:48
Re: gate open from skins - by CaHbKo - 02.12.2009, 18:13
Re: gate open from skins - by Correlli - 02.12.2009, 19:04
Re: gate open from skins - by Log1teCk - 02.12.2009, 19:06
Re: gate open from skins - by laserhel50 - 02.12.2009, 19:09
Re: gate open from skins - by Log1teCk - 02.12.2009, 19:49
Re: gate open from skins - by laserhel50 - 02.12.2009, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)