Limiting number of characters in a string
#3

pawn Код:
COMMAND:helpme(playerid, params[])
{
    format(string, sizeof(string), "%s-%s",sendername,params);
    if(strlen(params) > 39)
    {
        //Your code here
    }
    RefreshHelpMeChatBox();
    return 1;
}
Reply


Messages In This Thread
Solved - by lewismichaelbbc - 25.11.2012, 14:13
Re: Limiting number of characters in a string - by Dolby - 25.11.2012, 14:17
Re: Limiting number of characters in a string - by maramizo - 25.11.2012, 14:20
Re: Limiting number of characters in a string - by lewismichaelbbc - 25.11.2012, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)