/Stats Naming Error
#4

PHP код:
stock Adminhelpplay(playerid)
{
    new 
AdminHelpstats[32];
    if(
pInfo[playerid][AdminHelp] == 0format(AdminHelpstatssizeof(AdminHelpstats), "Player");
    else if(
pInfo[playerid][AdminHelp] == 1format(AdminHelpstatssizeof(AdminHelpstats),"Helper");
    else if(
pInfo[playerid][AdminHelp] == 2format(AdminHelpstatssizeof(AdminHelpstats), "Moderator");
    else if(
pInfo[playerid][AdminHelp] == 3format(AdminHelpstatssizeof(AdminHelpstats), "Administrator");
    else if(
pInfo[playerid][AdminHelp] == 4format(AdminHelpstatssizeof(AdminHelpstats), "Trusted Player");
    return 
AdminHelpstats;

PHP код:
    new string[128], playerb;
     
format(stringsizeof(string), " Stats of %s (%s)"Lname(playerb), Adminhelpplay(playerid));
    
SendClientMessage(playeridCOLOR_ORANGEstring); 
I use the same, And this works fine for me, So yea... its not wrong.
Reply


Messages In This Thread
/Stats Naming Error - by Jigsaw123 - 23.07.2015, 22:27
Re: /Stats Naming Error - by lulo356 - 23.07.2015, 22:46
Re: /Stats Naming Error - by trablon - 23.07.2015, 22:49
Re: /Stats Naming Error - by lulo356 - 23.07.2015, 23:24
Re: /Stats Naming Error - by trablon - 23.07.2015, 23:36

Forum Jump:


Users browsing this thread: 1 Guest(s)