Getting First Initials of a RP Name
#1

Hello Everyone,

I am trying to make a stock function with a string parameter , in which i can pass a RPName and it will return me a First initial of the first name attached with the last name's first initial but im not getting a perfect idea to code it. The stock will do the following function with a String.

Examples with some RP names :
  • Jonas_Renfold , The function will return : JR
  • Ballu_Miaa , The function will return : BM
  • Alex_Cole , The function will return : AC
Is there anyone who can help me code this stock , please reply. Your help will be appreciated.

Example of the code:
pawn Код:
stock GetNameInitials(name[])
{
    //Function Body
    return initials; // string
}
Thanks
Ballu Miaa
Reply


Messages In This Thread
Getting First Initials of a RP Name - by Ballu Miaa - 14.12.2012, 12:39
Re: Getting First Initials of a RP Name - by Babul - 14.12.2012, 12:57
Re: Getting First Initials of a RP Name - by Ballu Miaa - 14.12.2012, 12:59
Re: Getting First Initials of a RP Name - by ReneG - 14.12.2012, 13:23
Re: Getting First Initials of a RP Name - by LarzI - 14.12.2012, 13:26
Re: Getting First Initials of a RP Name - by Ballu Miaa - 14.12.2012, 16:05
Re: Getting First Initials of a RP Name - by Babul - 15.12.2012, 08:02
Re: Getting First Initials of a RP Name - by Ballu Miaa - 15.12.2012, 08:04

Forum Jump:


Users browsing this thread: 1 Guest(s)