13.08.2014, 16:28
Well I fixed it, it was return that was in the bad position
New code, and It's working thanks a lot for the help O_x
Quote:
public OnPlayerText(playerid, text[]) { new name[MAX_PLAYER_NAME], string[144], Float: pX, Float: pY, Float: pZ; GetPlayerName(playerid, name, sizeof name); format(string, sizeof(string), "%s diz: %s", name, text); GetPlayerPos(playerid, pX, pY, pZ); foreach(new i: Player) { if(IsPlayerInRangeOfPoint(i, 6.0, pX, pY, pZ)) { SendClientMessage(i, branco , string); } return 0; } return 1; |