if player is in one of a point
#4

pawn Код:
IsAtPoint(playerid)
{
    for(new i = 0; i < 18; i ++) // loop through all positions (0-17)
    {
        // check whether a player is in range (10.0) of this (i.e 0, 1 till 17) index pos
        if(IsPlayerInRangeOfPoint(playerid, 10.0, Zapfsaeulenpos[i][0], Zapfsaeulenpos[i][1], Zapfsaeulenpos[i][2]))
            return 1; // return true
    }
    return 0; // return false
}
Reply


Messages In This Thread
if player is in one of a point - by deathrunner - 12.07.2013, 10:59
Re : if player is in one of a point - by Chrisis - 12.07.2013, 11:19
Re: if player is in one of a point - by deathrunner - 12.07.2013, 11:54
Re: if player is in one of a point - by [KHK]Khalid - 12.07.2013, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)