24.01.2010, 20:41
Yo, I made a class selection for a mod I'm scripting. I must say I suck at this, but I'm really up for learning it, started today.
So, the class selection works fine and all, but I'd like at least two lines of text to display above the head or to the side of the class when it is selected.
Like,
|
| MERCENARIES
| Soldier
| o
| -|-
| /\
|
Showing both the team (Mercenaries) and the specific class name (Soldier).
I will put my code in here as well.
Please, anyone? A Dialogue box is what I assume I am going to use, but don't know how.
So, the class selection works fine and all, but I'd like at least two lines of text to display above the head or to the side of the class when it is selected.
Like,
|
| MERCENARIES
| Soldier
| o
| -|-
| /\
|
Showing both the team (Mercenaries) and the specific class name (Soldier).
I will put my code in here as well.
Code:
public OnPlayerRequestClass(playerid, classid) { SetPlayerTeamFromClass(playerid, classid); SetPlayerPos(playerid, 877.9190,-1077.0901,24.5843); SetPlayerFacingAngle(playerid, 360.0000); SetPlayerCameraPos(playerid, 877.9275,-1072.0787,24.3923); SetPlayerCameraLookAt(playerid, 877.9190,-1077.0901,24.5843); return 1; }