12.04.2014, 12:02
Which of them is better ?
or
Quote:
stock IsPlayerNear(playerid,giveplayerid) { new Float: x[3]; GetPlayerPos(playerid, x[0], x[1], x[2]); if(IsPlayerInRangeOfPoint(giveplayerid, 5, x[0], x[1], x[2])) return 1; return 0; } |
Quote:
static stock IsPlayerNear(playerid,giveplayerid) { new Float: x[3]; GetPlayerPos(playerid, x[0], x[1], x[2]); if(IsPlayerInRangeOfPoint(giveplayerid, 5, x[0], x[1], x[2])) return 1; return 0; } |