[Include] ClassSelection.inc - Easily create class selection textdraws!
#1

ClassSelection.inc
Easily create your own class selection textdraws with one line.

Functions
  • ShowClassTextdraw(playerid, teamcolor, teamname[], teaminfo[]);

    playerid - The player to display the textdraw for.
    teamcolor - The color of the team.
    namename[] - The team name.
    teaminfo[] - Information about the team.

  • HideClassTextdraw(playerid);

    playerid - The player to hide the textdraws from.
Screenshots

Imgur Album

Download
The GitHub repository has the include file, as well as an example file.

GitHub
Reply
#2

You should return a value on the function "HideClassTextdraw(playerid)" and "ShowClassTextdraw(playerid, teamcolor, teamname[], teaminfo[])" as it will give you a warning if said functions are returned.

Other than that, this could be useful for some people.

Good job, bud.
Reply
#3

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
You should return a value on the function "HideClassTextdraw(playerid)" and "ShowClassTextdraw(playerid, teamcolor, teamname[], teaminfo[])" as it will give you a warning if said functions are returned.

Other than that, this could be useful for some people.

Good job, bud.
Fixed.

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)