Dcmd problem
#1

Hey Guys i am trying to make a OnDuty and OffDuty Command for my server ill show u wut i have so far

pawn Код:
dcmd_onduty(playerid,params[])
{
    #pragma unused params
    if (AccInfo[playerid][Level] >= 1)
    {
    sendCommandToAdmins)playerid,"onduty");
    new pName[MAX_PLAYER_NAME];
    new string[128];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string, sizeof(string), "%s is Now On Admin Duty",pName);
    SendClientMessageToAll(COLOR_YELLOW, string);
    SetMarkerForPlayer( i, playerid, 0x800080AA);
}
    else
    SendClientMessage(playerid, COLOR_YELLOW,"You Are Not A Admin.");
}

dcmd_offduty(playerid,params[])
{
    #pragma unused params
    if (AccInfo[playerid][Level] >= 1)
    {
    sendCommandToAdmins)playerid,"offduty");
    new pName[MAX_PLAYER_NAME];
    new string[128];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string, sizeof(string), "%s Is Now Off Admin Duty",pName);
    SendClientMessageToAll(COLOR_YELLOW, string);
    SetMarkerForPlayer( i, playerid, 0xFFFFFFAA);
}
    else
    SendClientMessage(playerid, COLOR_YELLOW,"You Are Not A Admin.");
}
and when i try to compile it this is what i get

pawn Код:
C:\DOCUME~1\Phoebe\Desktop\GTASAC~1\SAMP03~1\FILTER~1\LuxAdmin.pwn(11211) : warning 203: symbol is never used: "dcmd_offduty"
C:\DOCUME~1\Phoebe\Desktop\GTASAC~1\SAMP03~1\FILTER~1\LuxAdmin.pwn(11211) : warning 203: symbol is never used: "dcmd_onduty"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.
Can Anyone Help me with this

Thanks In Advance
Regards
[Nuclear]Phoebe
Reply


Messages In This Thread
Dcmd problem[UNSOLVED] - by Zonoya - 10.08.2011, 22:50
Re: Dcmd problem - by Kingunit - 10.08.2011, 22:54
Re: Dcmd problem - by Zonoya - 10.08.2011, 23:06
Re: Dcmd problem - by Vince - 10.08.2011, 23:29
Re: Dcmd problem - by Zonoya - 10.08.2011, 23:31
Re: Dcmd problem - by Zonoya - 10.08.2011, 23:34
Re: Dcmd problem - by Zonoya - 11.08.2011, 18:31
Re: Dcmd problem - by Kingunit - 11.08.2011, 18:43
Re: Dcmd problem - by Zonoya - 11.08.2011, 18:48
Re: Dcmd problem - by Kingunit - 11.08.2011, 18:52

Forum Jump:


Users browsing this thread: 2 Guest(s)