SA-MP Forums Archive
little help fixing this - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: little help fixing this (/showthread.php?tid=213370)



little help fixing this - Fool - 19.01.2011

pawn Code:
dcmd_aduty(playerid,params[])
{
    #pargma unused params
    new string[126];
    if (PlayerInfo[playerid][AdminLevel] < 1)
    {
    format(string, sizeof(string), "%s(%d) Is Now On Admin Mode!",PlayerName(playerid),playerid);
             IRC_GroupSay(gGroupID,IRC_CHANNEL,string);
    }
    return 1;
}
i made some mistake, can someone help me fix this


Re: little help fixing this - KDlivest954 - 19.01.2011

"#pargma unused params"

Should be "pragma unused parapms"

I think, haven't scripted in a whileeeeeeeee. lol.


Re: little help fixing this - Fool - 19.01.2011

ow, stupid me