Problem With Script: all players are afk
#4

Quote:
Originally Posted by Misiur
Посмотреть сообщение
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(PlayerInfo[playerid][dRank] < 1 && IsPlayerInRangeOfPoint(playerid, 8, -308.49820, 1508.65869, 74.33560))
    {
        MoveObject(autogate, -308.49820, 1508.65869, 68.10109, 3);
        SetTimer("close", 4000, 0);
    }

    return 1;
}
Ever heard of indentation? If you want your code to be readable - ****** it, and use it.
The code you give don't work! My gate wont open if you stand infront of int
Reply


Messages In This Thread
Problem With Script: all players are afk - by Fantje - 08.03.2015, 17:09
Re: Problem With Script: all players are afk - by Misiur - 08.03.2015, 17:17
Re: Problem With Script: all players are afk - by Fantje - 08.03.2015, 17:21
Re: Problem With Script: all players are afk - by Fantje - 08.03.2015, 19:00
Re: Problem With Script: all players are afk - by SKAzini - 08.03.2015, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)