Not Code !!
#1

I want to know the names of police levels like:
cheif 10
And other ?
Reply
#2

pawn Код:
stock GetPlayerPoliceRank(playerid)
{
    new arank[128];
    switch(YourPoliceVariable)
    {
        case 10: arank = "Chief";
        case 9: arank = "Name Rank 9";
        case 8: arank = "Name Rank 8";
        // Continue (....)
        case 1: arank = "Name Rank 1";
        default: arank = "None";
    }
    return arank;
}
pawn Код:
CMD:rank(playerid, params[])
{
    new string[60];
    format(string, sizeof(string), "Your Police Level it's: %s.", GetPlayerPoliceRank(playerid));
    SendClientMessage(playerid, -1, string);
    return 1;
}
Reply
#3

i know i am asking about the name of the levels
Reply
#4

Police Officer
Investigator
Sergeant
Lieutenant
Major
Captain
Commander
Commissioner
Reply
#5

So
Police Officer 1
Investigator 2
Sergeant 3
Lieutenant 4
Major 5
Captain 6
Commander 7
Commissioner 8
right ?
Reply
#6

It differs alot from server to server, and from police departments.
But this is a section to get help with your scripting, please post under "Everything and Nothing" next time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)