need help with command
#1

I need help with this command

pawn Код:
dcmd_#(playerid, params[])
{
    new pid, string[210];
        if(sscanf(params, "us", pid, params[2])) return SendClientMessage(playerid, Yellow, "Usage: /# <message>");
    new help[MAX_PLAYER_NAME];
    GetPlayerName(playerid, help, sizeof;
    format(string, sizeof(string), "(Help) %s(ID: %i)",help, playerid, pid, params[2]);
    MessageToAdmins(AdminColor, string);
    return 1;
}
error line..
pawn Код:
GetPlayerName(playerid, help, sizeof;
Reply
#2

pawn Код:
GetPlayerName(playerid, help, sizeof(help));
Reply
#3

Works! Thank you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)