17-10-2008, 03:52 AM
Ok so i just joined today and i have taken a crack at jumping head first into mirage. My first edit I wanted to try would be to add a new morale called "Cola" just for fun. So here is the code i have
On the top line it says that it is not defined when i run the client.
Code:
Public Sub UpdateDrawMapName()
DrawMapNameX = (MAX_MAPX + 1) * PIC_X \ 2 - ((Len(Trim$(Map.Name)) \ 2) * 8)
DrawMapNameY = 1
Select Case Map.Moral
Case MAP_MORAL_NONE
DrawMapNameColor = QBColor(BrightRed)
Case MAP_MORAL_SAFE
DrawMapNameColor = QBColor(White)
Case MAP_MORAL_COLA
DrawMapNameColor = QBColor(Blue)
Case Else
DrawMapNameColor = QBColor(White)
End Select
End Sub
On the top line
Code:
Public Sub UpdateDrawMapName()