Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Little Help Please

$
0
0
Hello guys i am facing a problem is that credits are showing in same line please help me the codes are below.


PHP Code:

CMD:credits(playeridparams[])
{
    new 
tmp[1000];
    new 
maxcredits dini_Int(AddDirFile(dir_datafilesFILE_TOTALSTAT), "credits");
    if (
maxcredits == 0) return SendClientMessage2(playeridCOLOR_RED"Currently there are no Credits.");
    new 
tmp3[2048];
    for (new 
1<= maxcreditst++)
    {
         
format(tmp50"creditname%d"t);
         
format(tmpsizeof(tmp), "%s"dini_Get(AddDirFile(dir_datafilesFILE_CREDITS), tmp));
         
format(tmp3sizeof(tmp3), "%s%s%s:{FFFFFF} %s"tmp3creditscolor(t), tmpcreditssname(t));
    }
    
SendClientMessage2(playeridCOLOR_ORANGE"-------------------------|");
    
SendClientMessage2(playeridCOLOR_WHITEtmp3);
    
SendClientMessage2(playeridCOLOR_ORANGE"--------------------------");
    return 
1;



Viewing all articles
Browse latest Browse all 18226

Trending Articles