strlower Help
#1

Hi Alls.I Use Strlower But Give me 1 error
Code :
Код:
stock UserPath(playerid)
   {
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername)); //  This get's the player name with the name length
    format(string, sizeof(string), PATH,strlower(playername));
    return string;
    }
and Give me :

Код:
undefined symbol "strlower"
How To Fix it?
i Put new strlower; But Give 4 Errors.Strlower Not Need For new ... Any One Can Fix It? TnX +Rep
Reply
#2

do you have the include ?

if yes try Strlower -- Capitalize the S
Reply
#3

Quote:
Originally Posted by Ahmad45123
Посмотреть сообщение
do you have the include ?

if yes try Strlower -- Capitalize the S
Which include?
Reply
#4

Add on top

pawn Код:
strlower(string[])
{

    for(new i=0; string[i] != EOS; i++)
        string[i] = tolower(string[i]);

    return string;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)