=====================================VAR===============================================================================
mob/var
showrank=0
//=====================================VERBS VIP===============================================================================
mob/Vip/verb
ShowRank()
set category = "Vip"
set name = "Show Rank"
if(!usr.showrank)
usr.showrank=1
usr.maptext="<font face=tahoma size='1'><b><center>[usr.rank]"
usr.maptext_y=-30
usr.maptext_x=-64
usr.maptext_width=160
else
usr.showrank=0
usr.maptext=""
//=====================================VAR===============================================================================
mob/var
showname=0
//=====================================VERBS VIP===============================================================================
mob/Vip/verb
ShowName()
set category = "Vip"
set name = "Show name"
if(!usr.showname)
usr.showname=1
usr.maptext="<font face=tahoma size='1'><b><center>[usr.name]"
usr.maptext_y=30
usr.maptext_x=-64
usr.maptext_width=160
else
usr.showname=0
usr.maptext=""
Problem description:
I want two commands, one to show the player's nickname and the other one to show the player's rank, but i don't know how to get two maptexts, as the var is the same in both of them they'll overwrite each other, how do i make other var for maptexting?
For example:
Another option would be to generate the maptext var based on what should be written to it at run-time. For example, if both the player's name and rank should be shown, then add the player's name and append the rank to the maptext var. At least this method would allow you to continue to use the maptext var alone and not need to create an image or otherwise.