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

my 101st thread!*celebration*

$
0
0
sorry for stupid titles. gotta bring views
but so true i made at least 100 of those.
got some errors. some of them are obvious some arent.(100th bug!! i solved 3 times more of them so you wont think that im here just for you to fix things for me. i simply dont know. thats why my name is n00blek)

PHP Code:

CMD:lideri(playerid,params[])
{
    for(new 
i=0;i<MAX_PLAYERS;i++)
    {
        if(
PlayerInfo[i][pRank] == 6)
        {
              new 
str[512],orgname[24],name[24];
            if(
PlayerInfo[i][pOrgID] == 1) { orgname "Grove Street Families"; }
---->            
format(str,sizeof(str),COL_RED,"%s | %s |",orgname,name(i));
            
ShowPlayerDialog(playerid,DIALOG_LIDERI,DIALOG_STYLE_MSGBOX,""COL_BLUE"Aktivni lideri:",str,"Ok","");
        }
    }
    return 
1;


PHP Code:

C:\Program Files\Rockstar Games\GTA San Andreas\SAMP\Server\gamemodes\AdminPlugin.pwn(474) : error 012invalid function callnot a valid address
C
:\Program Files\Rockstar Games\GTA San Andreas\SAMP\Server\gamemodes\AdminPlugin.pwn(474) : warning 215expression has no effect
C
:\Program Files\Rockstar Games\GTA San Andreas\SAMP\Server\gamemodes\AdminPlugin.pwn(474) : error 001expected token";"but found ")"
C:\Program Files\Rockstar Games\GTA San Andreas\SAMP\Server\gamemodes\AdminPlugin.pwn(474) : error 029invalid expressionassumed zero
C
:\Program Files\Rockstar Games\GTA San Andreas\SAMP\Server\gamemodes\AdminPlugin.pwn(474) : fatal error 107too many error messages on one line

Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


4 Errors



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>