Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Level up Message


hisherwin
 Share

Recommended Posts

Eh help D:

        If level_count = 1 Then
            'singular
            GlobalMsg GetPlayerName(Index) & " has gained " & level_count & " level!", Brown
        Else
            'plural
            GlobalMsg GetPlayerName(Index) & " has gained " & level_count & " levels!", Brown
        End If

How can i make it visible to player only not on Global?
Link to comment
Share on other sites

@Sherwin:

> I know that PlayerMsg , But when i replace the GlobalMsg to PlayerMsg it receive compile error

Because you're being stupid and are forgetting PlayerMsg has another variable you're not adding, the Index.

@Growlith1223:

> that's because it's not playermsg morons….it's saymsg("message")

If you don't know what they hell you're on about just please.. Don't embarrass yourself and start namecalling.
Link to comment
Share on other sites

….........................................________
....................................,.-‘”...................``~.,
.............................,.-”...................................“-.,
.........................,/...............................................”:,
.....................,?......................................................\,
.................../...........................................................,}
................./......................................................,:`^`..}
.............../...................................................,:”........./
..............?.....__.........................................:`.........../
............./__.(.....“~-,_..............................,:`........../
.........../(_....”~,_........“~,_....................,:`........_/
..........{.._$;_......”=,_.......“-,_.......,.-~-,},.~”;/....}
...........((.....*~_.......”=-._......“;,,./`..../”............../
...,,,___.\`~,......“~.,....................`.....}............../
............(....`=-,,.......`........................(......;_,,-”
............/.`~,......`-...............................\....../\
.............\`~.*-,.....................................|,./.....\,__
,,_..........}.>-._\...................................|..............`=~-,
.....`=~-,_\_......`\,.................................\
...................`=~-,,.\,...............................\
................................`:,,...........................`\..............__
.....................................`=-,...................,%`>--==``
........................................_\..........._,-%.......`\
...................................,<`.._|_,-&``................`\

```
    If level_count > 0 Then
        If level_count = 1 Then
            'singular
            Call PlayerMsg(index, "You have gained " & level_count & " level!", Brown)
        Else
            'plural
            Call PlayerMsg(index, "You have gained " & level_count & " levels!", Brown)
        End If
```
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...