29.03.2014, 12:14
here is code:
^That might help.
P.S using SCM instead of SendClientMessage is a bad scripting habit.
EDIT: Meh! I was slow D:
pawn Код:
for(new i = 0; i < sizeof(PI); i++)
{
if(IsPlayerInRangeOfPoint(playerid, 5.0, PI[i][pPozx], PI[i][pPozy], PI[i][pPozz]))
{
SCM(playerid,-1,"Works!");
} else return SCM(playerid,-1,"Not near");
}
P.S using SCM instead of SendClientMessage is a bad scripting habit.
EDIT: Meh! I was slow D: