if(sscanf(params, "ud", giveplayerid, division)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /LSPDdiv [playerid] [division]"); SendClientMessage(playerid, COLOR_GRAD2, "Available division names: 1 (None), 2 (Detective), 3 (SWAT), 4 (Motorcycle)"); return 1; }
error 017: undefined symbol "params" |
if(sscanf(params, "ud", giveplayerid, division))
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /LSPDdiv [playerid] [division]");
SendClientMessage(playerid, COLOR_GRAD2, "Available division names: 1 (None), 2 (Detective), 3 (SWAT), 4 (Motorcycle)");
return 1;
}
if(sscanf(params, "ud", giveplayerid, division))
{
#pragma unused params
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /LSPDdiv [playerid] [division]");
SendClientMessage(playerid, COLOR_GRAD2, "Available division names: 1 (None), 2 (Detective), 3 (SWAT), 4 (Motorcycle)");
return 1;
}