Similar problem with dcmd
#1

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;
}
Reply
#2

Add

pawn Код:
#pragma unused playerid
Reply
#3

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)