help please
#3

Just add a ! at the start of IsPlayerInRangeOfPoint example !IsPlayerInRangeOfPoint()

Also in that code you can just have it like this:

pawn Код:
if(!strcmp("/stadium",cmdtext))
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
    {
        SendClientMessage(playerid,0xFFFFFFFF,"You are near the Stadium entrance!");
    }
    else
    {
    SendClientMessage(playerid,0xFFFFFFFF,"you are not near the stadium");
    }
    return 1;
}
Reply


Messages In This Thread
help please - by iJumbo - 14.07.2010, 10:44
Re: help please - by ToPhrESH - 14.07.2010, 10:48
Re: help please - by oliverrud - 14.07.2010, 10:49

Forum Jump:


Users browsing this thread: 1 Guest(s)