09.07.2011, 03:33
I've tried changing it to the below, but it didn't help either. Should i completely remove return 1; ?
Код:
for(new i = 0; i<APPROX_PLAYERS; i++) { if( (GetPlayerVirtualWorld(i) == houselocW) && (IsPlayerInRangeOfPoint(i, 20, houselocX, houselocY, houselocZ)) ) { SendClientMessage(i, COLOR_YELLOW, "( I ) Riiing.. riing."); SendClientMessage(playerid, COLOR_YELLOW, "( I ) Biip.. biip."); }else{ SendClientMessage(playerid, COLOR_YELLOW, "( I ) No answer"); } return 1; }