Need some help
#18

pawn Код:
public TowServiceGate1(playerid)
{
    if(PlayerToPoint(5.0,playerid, 1937.4944,2148.5791,10.8203) && PlayerInfo[playerid][pFaction] == 1)
    {
        b_MoveObject(Entrance1, 1937.729, 2137.095, 11.531, 2);
        b_MoveObject(Entrance2, 1937.708, 2158.011, 11.531, 2);
    }
    else if(!PlayerToPoint(5.0, playerid, 1937.4944,2148.5791,10.8203) && PlayerInfo[playerid][pFaction] == 1)
    {
        b_MoveObject(Entrance1, 1937.729, 2144.566, 11.531, 2);
        b_MoveObject(Entrance2, 1937.708 ,2152.508 ,11.531, 2);
    }
}
pawn Код:
new Tow1Timer[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
  Tow1Timer[playerid] = SetTimerEx("TowServiceGate1", 1000, 1, "i", playerid);
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
  KillTimer(Tow1Timer[playerid]);
Think thats all
Reply


Messages In This Thread
Need some help - by Sayaron - 12.09.2009, 00:57
Re: Need some help - by Sayaron - 12.09.2009, 10:04
Re: Need some help - by Correlli - 12.09.2009, 10:08
Re: Need some help - by Sayaron - 12.09.2009, 10:11
Re: Need some help - by Correlli - 12.09.2009, 10:12
Re: Need some help - by Sayaron - 12.09.2009, 10:16
Re: Need some help - by MadeMan - 12.09.2009, 10:21
Re: Need some help - by Sayaron - 12.09.2009, 17:41
Re: Need some help - by Correlli - 12.09.2009, 17:46
Re: Need some help - by Sayaron - 12.09.2009, 18:03
Re: Need some help - by Correlli - 12.09.2009, 18:05
Re: Need some help - by Sayaron - 12.09.2009, 18:21
Re: Need some help - by Correlli - 12.09.2009, 18:28
Re: [SOLVED]Need some help - by Sayaron - 12.09.2009, 18:56
Re: [SOLVED]Need some help - by Correlli - 12.09.2009, 19:26
Re: Need some help - by Sayaron - 12.09.2009, 19:47
Re: Need some help - by Correlli - 12.09.2009, 19:55
Re: Need some help - by Sayaron - 12.09.2009, 20:30
Re: Need some help - by Correlli - 12.09.2009, 20:39
Re: Need some help - by Sayaron - 12.09.2009, 20:46

Forum Jump:


Users browsing this thread: 3 Guest(s)