strings help
#1

hey so I have this string for but it isn't working good
PHP код:
CMD:rank(playeridparams[])
{
    new 
string[380];
    
format(string,sizeof(string), "Your Current Rank Is:%s"pRank(playerid));
    
SendClientMessage(playeridCOLOR_GREENstring);
    
//if(!strcmp(Rank[i],"RANKNAME")){}
    
return 1;

the problem is it is reading from the file that give it the names and every thing it is saying that you current rant is: uest there is G isn't saying it
and here the pRank(playerid)
PHP код:
stock pRank(playerid)
{
    new 
playername[MAX_PLAYER_NAME];
    
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
    
dini_Get(AddDirFile(dir_userfilesplayername), "Rank");
    return 
1;

Reply


Messages In This Thread
strings help - by silverms - 02.03.2017, 22:11
Re: strings help - by Toroi - 02.03.2017, 22:14
Re: strings help - by silverms - 02.03.2017, 22:24
Re: strings help - by Toroi - 02.03.2017, 22:37
Re: strings help - by GoldenLion - 03.03.2017, 12:15
Re: strings help - by RyderX - 03.03.2017, 12:26
Re: strings help - by GoldenLion - 03.03.2017, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)