Quote:
Originally Posted by Life Advanced
pawn Код:
//Ponha no GameMode e nгo vai ter mais problema com Chat Global '
public OnPlayerText(playerid, text[]) { if(text[0] == '#') { new n[24],s[128],Float:Pos[3]; GetPlayerName(playerid,n,24); format(s,128,"%s diz:s%",n,text[1]); GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]); for(new i = 0 ; i < GetMaxPlayers(); i++) { if(IsPlayerInRangeOfPoint(i,2,Pos[0],Pos[1],Pos[2])) { SendClientMessage(i,-1,s); } } } return false; }
|
Agora nгo aparece nada ao digitar :/