Question. [Real Easy]
#5

Quote:
Originally Posted by AeroBlast
Посмотреть сообщение
pawn Код:
SetTimer("CheckPlayer",500,true);
Under OnGameModeInIt()
pawn Код:
forward CheckPlayer();
public CheckPlayer()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(IsPlayerInRangeOfPoint(i,1,-2088.0269,2477.8394,48.3979))
            {
                SetPlayerPos(i,-2076.4126,2475.6736,41.1647);
            }
        }
    }
    return 1;
}
Somewhere in your script
Don't need a timer xD

This should work:
Quote:
Originally Posted by Josma_cmd
Посмотреть сообщение
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 3.0, -2088.0269,2477.8394,48.3979))
{
    SetPlayerPos(playerid, -2076.4126,2475.6736,41.1647);
}
You need of the timer or checkpoint.
Reply


Messages In This Thread
Question. [Real Easy] - by Daniel June - 13.10.2011, 14:03
Re: Question. [Real Easy] - by AeroBlast - 13.10.2011, 14:14
Re: Question. [Real Easy] - by Josma_cmd - 13.10.2011, 14:14
Re: Question. [Real Easy] - by aRoach - 13.10.2011, 14:15
Re: Question. [Real Easy] - by Michael@Belgium - 13.10.2011, 14:16
Re: Question. [Real Easy] - by =WoR=Varth - 13.10.2011, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)