SA-MP Forums Archive
help me [+1 REP to helper] - 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)
+--- Thread: help me [+1 REP to helper] (/showthread.php?tid=511962)



help me [+1 REP to helper] - maaz - 08.05.2014

pawn Код:
dcmd_cdl(playerid,params[]) {
    #pragma unused params
    if(PlayerInfo[playerid][Level] >= 2) {
        CMDMessageToAdmins(playerid,"CDL");
        for(new i = 0; i < 15; i++)
        {
            SendDeathMessage(10001,10001,0);
        }
        }
        new string[128]; format(string,sizeof(string),"Administrator \"%s\" has cleared Death log", pName(playerid) );
        return SendClientMessageToAll(blue, string);
Error this line } else return SendClientMessage(playerid,red,"ERROR: You need to be level 2 to use this command");
}

Error NAme : error 010: invalid function or declaration site


Re: help me [+1 REP to helper] - maaz - 08.05.2014

hola tahnsk + repped