mercredi 4 mars 2015

TextDraw Hovering

I was gonna post this here, but I'm sure this can get done by RC3 if Kalcor wants it to, so why not.



The idea is to make the following callbacks:


Code:



public OnPlayerHoverTextDraw(playerid, Text:hoverid)

public OnPlayerHoverPlayerTextDraw(playerid, Text:hoverid)





These callbacks would make textdraws much more modern.

For example:



(It shows an info box, but without the need to click on the actual textdraw)



Why do I think this can get done fast?

Well, there's already the function SelectTextDraw, this would just expand that a bit more.




Aucun commentaire:

Enregistrer un commentaire