Trucker Ranks
#1

Hello People

Can someone help me with something

It is to make Trucker ranks for when you get a certain score you automatically get a new rank and a big of cash for it and every time you connect to the server it comes up with your Name then the Rank.

e.g.

[PLAYER] [RANK] [ID] Has Connected
[PLAYER] [ID] Has Left

Can anyone help it will be must appreciated and I want a command when you type /ranks it comes up this



Thanks
Reply
#2

Something like this:

pawn Код:
public OnPlayerConnect(playerid)
{
    if(PlayerInfo[Points] == 0) // Trucker Wannabe
    {
        // Join message etc.
    }
    else if(PlayerInfo[Points] == 1) // Rookie Trucker
    {
        // Join message etc.
    }
    else if(PlayerInfo[Points] == 2) // Trucker
    {
        // Join message etc.
    }
    else if(PlayerInfo[Points] == 3) // Respected Trucker
    {
        // Join message etc.
    }
   
    // Go on
    return 1;
}
100% this won't work. But it's something like that
Reply
#3

pawn Код:
switch(GetPlayerScore(playerid)) // PlayerScore[playerid] or w/e you like.
{
     case 1:
     {
           // Give new rank rookie trucker
     }
     case 1000:
     {
           // Give new rank transport tycoon
     }
}
Reply
#4

yh but i need it when you get to a certain score it announces that you have reached a new rank and it tells everyone else in the game that you have a new rank and it does it when you connect aswell



Like that above when people connect
Reply
#5

Quote:
Originally Posted by Trucker[UK]
Посмотреть сообщение
yh but i need it when you get to a certain score it announces that you have reached a new rank and it tells everyone else in the game that you have a new rank and it does it when you connect aswell



Like that above when people connect
Seems you don't understand anything. You better post this into the 'Request Thread'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)