splewis / csgo-retakes

CS:GO Sourcemod plugin for a site-retake gamemode
GNU General Public License v3.0
328 stars 115 forks source link

PrintHintTextToAll #32

Closed Joob closed 9 years ago

Joob commented 9 years ago

Hi.. How can I put this information on center of monitor ? as you had in the previous version .. Regards..

splewis commented 9 years ago

This plugin never used hint texts for any information.

Joob commented 9 years ago

yes, I know.. but I would like you had in the previous version .. when the round start, give you information about SITE A or B .. on center monitor.. u know ?

splewis commented 9 years ago

That wasn't in any previous version of this project. You're thinking of a different retakes plugin.

Joob commented 9 years ago

no no.. don't u remember this..


public Action:Timer_PrintHintSite(Handle:timer, any:site) { if(GetEngineTime() - gf_StartRoundTime >= 3) return Plugin_Stop; PrintHintTextToAll("\nBOMBSITE IS %s", site == SITEA ? "A":"B"); return Plugin_Continue;

}

splewis commented 9 years ago

No, I don't, because it was never a part of this plugin. It was part of someone else's plugin attempting to replicate mine before it was open source.

Joob commented 9 years ago

Hmm correct.. exactly.. can u write a simple code for this info ? (on monitor center)

splewis commented 9 years ago

There's been a request to add it for 9 months. If someone wants to add it, they are free to make a pull request. I didn't do it myself since I don't consider it important and don't want to mess with having the HTML-formatted colors in the hint text and have another piece of text to translate.