09.02.2011, 19:55
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;
}
/myrank
then it sends
Rank: Btunte.
or
Rank: Atunte.