Help a bit :/
#1

pawn Код:
if(PInfo[playerid][Stuntrank] = 0)
    {
        format(string,sizeof(string),"Newbie stunter");
        strmid(PInfo[playerid][Stuntrank], string, 0, strlen(string), 14);
        return 1;
    }
    if(PInfo[playerid][Stuntrank] == 1)
    {
        format(string,sizeof(string),"Amature racer");
        strmid(PInfo[playerid][Stuntrank],string,0,strlen(string),13);
        return 1;
    }
    if(PInfo[playerid][Stuntrank] == 2)
    {
        format(string,sizeof(string),"Advanced jumper");
        strmid(PInfo[playerid][Stuntrank], string, 0, strlen(string), 15);
        return 1;
    }
    if(PInfo[playerid][Stuntrank] == 4)
    {
        format(string,sizeof(string),"Professional stunter");
        strmid(PInfo[playerid][Stuntrank],string,0,strlen(string),20);
        return 1;
    }
    if(PInfo[playerid][Stuntrank] == 5)
    {
        format(string,sizeof(string),"Awesome Jumper!");
        strmid(PInfo[playerid][Stuntrank],string,0,strlen(string),15);
        return 1;
    }
But it appears weired in a cmd like
/myrank
then it sends
Rank: Btunte.
or
Rank: Atunte.
Reply
#2

why not just go
pawn Код:
format(PInfo[playerid][Stuntrank],sizeof(PInfo[playerid][Stuntrank]),"Professional stunter");
?
Reply
#3

Eeeeuh... Why don't you just SendClientMessage?
Reply
#4

Explain better please.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)