Help to work with this strirng
#4

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
PHP код:
enum LabelEnum{
    
Cash,
    
Title[10],
    
MainBody[200]
};
new 
Label[5][LabelEnum] = {
    {
1000"Intro""Complete text description, with examples\nNew lines and everything to explain."},
    {
1000"Intro""Complete text description, with examples\nNew lines and everything to explain."},
    {
1000"Intro""Complete text description, with examples\nNew lines and everything to explain."},
    {
1000"Intro""Complete text description, with examples\nNew lines and everything to explain."},
    {
1000"Intro""Complete text description, with examples\nNew lines and everything to explain."},
};
CMD:label(playerid) {
    new 
labelStatus[playerid],
        
s[90];
    
format(s,90,"Intro is: %s",Label[i][Title]);
    
SendClientMessage(playerid, -1s);
    
format(s,90,"Intro is: %s",Label[i][MainBody]);
    
SendClientMessage(playerid, -1s);
    
GivePlayerMoneyEx(playeridLabel[i][Cash]);
    return 
1;

I think that is it...
Thank you +rep
Reply


Messages In This Thread
Help to work with this strirng - by binnyl - 08.09.2018, 20:28
Re: Help to work with this strirng - by solstice_ - 08.09.2018, 20:32
Re: Help to work with this strirng - by CodeStyle175 - 08.09.2018, 20:33
Re: Help to work with this strirng - by binnyl - 08.09.2018, 20:49

Forum Jump:


Users browsing this thread: 1 Guest(s)