SA-MP Forums Archive
Similar problem with dcmd - 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: Similar problem with dcmd (/showthread.php?tid=486485)



Similar problem with dcmd - BodyBoardVEVO - 08.01.2014

Problem

pawn Код:
warning 203: symbol is never used: "playerid"
warning 203: symbol is never used: "playerid"

2 Warnings.
The code

pawn Код:
dcmd_clearchat(playerid,params[])
{
    #pragma unused params
    for(new i = 0; i < 100; i++) SendClientMessageToAll(0xFFFFFFFF," ");
    return 1;
}

dcmd_restart(playerid,params[])
{
    #pragma unused params
    GameTextForAll("~b~~h~Server restarting...~n~~r~~h~~h~Wait a few seconds", 10000, 3);
    SendClientMessageToAll(COLOR_ERROR, "{FFCC00}Server is restarting, dont worry... All stats is saved.");
    SendRconCommand("gmx");
    return 1;
}



Re: Similar problem with dcmd - Burridge - 08.01.2014

Add

pawn Код:
#pragma unused playerid



Re: Similar problem with dcmd - BodyBoardVEVO - 08.01.2014

Quote:
Originally Posted by Burridge
Посмотреть сообщение
Add

pawn Код:
#pragma unused playerid
Oh, lol yezz !
My fault, thanks for help +rep