Quote:
Originally Posted by RedFusion
pawn Код:
else { if(IsPlayerInRangeOfPoint(i, 12.0, pos[0], pos[1], pos[2])) SendClientMessage(i, COLOR_GREY, szMessage); } } else { if(IsPlayerInRangeOfPoint(i, 12.0, pos[0], pos[1], pos[2])) SendClientMessage(i, COLOR_GREY, szMessage); }
replaced
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 12.0, pos[0], pos[1], pos[2]))
with
pawn Код:
if(IsPlayerInRangeOfPoint(i, 12.0, pos[0], pos[1], pos[2]))
|
That would just make it submit to the person who typed it though, would it not? I have it looping through the players to check if they are near them, and if they are, it sends them the message that playerid wrote.
Edit: I think I see what you did, I'll try it. Hold on.
Edit 2: Worked. Fixed it. Thanks!