helper names
#1

how to make names to helper level 1 , 2?
pawn Код:
PlayerInfo[playerb][pHelper] = 1; //Junior
PlayerInfo[playerb][pHelper] = 2; //senior
Reply
#2

bumb
Reply
#3

i dont know what you try to say ...
Reply
#4

Just create a function to return a helper rank name depending on his helper level as below.
pawn Код:
stock GetHelperName(playerid)
{
     new name[10];
     switch(PlayerInfo[playerid][pHelper])
     {
          case 1: name = "Junior";
          case 2: name = "Senior";
          case 3: name = "Master";
          // ... etc
     }
     return name;
}

// example to use:
new string[64];
format(string, sizeof(string), "%s %s has joined the server", GetHelperName(playerid), GetName(playerid));
Reply
#5

can you explain what you want ?
Reply
#6

Loot Rep+
Reply
#7

can i know what is the 10 behind the name??
pawn Код:
new name[10]//<<<< this ten
Reply
#8

Quote:
Originally Posted by AhmedMohamed
Посмотреть сообщение
can i know what is the 10 behind the name??
pawn Код:
new name[10]//<<<< this ten
That mean sizes of the names. Like if you don't have enough sizes.
this what you get.
Te

Full size
Test
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)