Dealing Posted November 3, 2021 Share Posted November 3, 2021 Intrebare: Cum fac sa nu mai vada tot serverul ce scriu oamenii? Sa fac cand esti aproape de un player la o raza sa arate ce scrie. Ai încercat să faci ceva înainte să postezi?: Nu. Link to comment Share on other sites More sharing options...
KeDeOnYT Posted January 2, 2022 Share Posted January 2, 2022 Salut, uite asa: Astea sunt niste stock-uri, le pui oriunde in gamemode dar inaintea public-ului OnPlayerText Quote Quote stock SendNearbyMessage(playerid, color, Float:distance, const text[], va_args<>) { format(gString, sizeof(gString), text, va_start<4>); GetPlayerPos(playerid, PosX, PosY, PosZ); foreach(new x : Player) { if(GetPlayerInterior(x) == GetPlayerInterior(playerid) && GetPlayerVirtualWorld(x) == GetPlayerVirtualWorld(playerid)) { if(GetPlayerDistanceFromPoint(x,PosX,PosY,PosZ) <= distance) { SCM(x, color, gString); } } } return true; } stock GetName(playerid) { new name[20]; GetPlayerName(playerid, name, sizeof(name)); return name; } Astea le pui la OnPlayerText: Quote SendNearbyMessage(playerid, -1, 15.0, "%s: {FFFFFF}%s", GetName(playerid), text); SetPlayerChatBubble(playerid, text, -1, 15.0, 8000); Sper ca te-am ajutat. Link to comment Share on other sites More sharing options...
VIP irinelbro69 Posted March 23, 2022 VIP Share Posted March 23, 2022 Topicul a fost marcat ca fiind rezolvat Dacă se dorește redeschiderea acestuia, contactați un moderator. Toate topicurile rezolvate/nerezolvate ajung aici: https://www.leaks.ro/forum/101-closed-topics/ sau click. Link to comment Share on other sites More sharing options...
Recommended Posts