Thank you mate this worked.
pawn Code:
ProxDetector(Float:radi, playerid, caststr[],col1,col2,col3,col4,col5)
{
new Float:PlayerPos[3];
GetPlayerPos(playerid, PlayerPos[0], PlayerPos[1], PlayerPos[2]);
for(new giveplayerid;giveplayerid!=MAX_PLAYERS;giveplayerid++)
{
if(!IsPlayerConnected(giveplayerid)) continue;
if(IsPlayerInRangeOfPoint(giveplayerid, floatdiv(radi,16), PlayerPos[0], PlayerPos[1], PlayerPos[2])) SendClientMessage(giveplayerid, col1, caststr);
else if(IsPlayerInRangeOfPoint(giveplayerid, floatdiv(radi,8),PlayerPos[0], PlayerPos[1], PlayerPos[2])) SendClientMessage(giveplayerid, col2, caststr);
else if(IsPlayerInRangeOfPoint(giveplayerid, floatdiv(radi,4), PlayerPos[0], PlayerPos[1], PlayerPos[2])) SendClientMessage(giveplayerid, col3, caststr);
else if(IsPlayerInRangeOfPoint(giveplayerid, floatdiv(radi,2), PlayerPos[0], PlayerPos[1], PlayerPos[2])) SendClientMessage(giveplayerid, col4, caststr);
else if(IsPlayerInRangeOfPoint(giveplayerid, radi, PlayerPos[0], PlayerPos[1], PlayerPos[2])) SendClientMessage(giveplayerid, col5, caststr);
}
return true;
}