Params?
#1

pawn Код:
dcmd_enablegoto(playerid,params[])//4856
{
        if(cgoto[playerid])return SendClientMessage(playerid, 0xFFFF00FF, "Server: You have already allow other players goto tou.");
        cgoto[playerid] = true;
        return SendClientMessage(playerid, 0x00FF00FF, "Server: You have allowed other players goto you");
}


dcmd_disablegoto(playerid, params[])
{
    if(!cgoto[playerid])return SendClientMessage(playerid, 0xFFFF00FF, "Server: You have already forbid other players goto you");
    cgoto[playerid] = false;
    return SendClientMessage(playerid, 0xFF0000FF, "Server: You have forbid other players goto you");
}

Код:
C:\Users\proprietario\Desktop\Drifting Stunting Racing\filterscripts\LuxAdmin.pwn(4856) : warning 203: symbol is never used: "params"
C:\Users\proprietario\Desktop\Drifting Stunting Racing\filterscripts\LuxAdmin.pwn(4864) : warning 203: symbol is never used: "params"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply
#2

pawn Код:
#pragma unused params
On the first line of both the commands.
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)