How to fix?
#1

pawn Код:
CMD:onduty(playerid, params [])
{
    if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid, COLOR_WHITE, "You are not admin!");
    {
        new name[MAX_PLAYER_NAME];
        new string[100];
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof(string), "Admin %s is now admin on duty!",name); return SendClientMessage(playerid, COLOR_WHITE, "You are already on duty");
        SendClientMessage(playerid, COLOR_WHITE, string);
    }
    return 1;
}
Reply


Messages In This Thread
How to fix? - by Super_Panda - 28.09.2011, 04:59
Re: How to fix? - by Jack_Leslie - 28.09.2011, 05:00
Re: How to fix? - by Dripac - 28.09.2011, 05:01
Re: How to fix? - by Super_Panda - 28.09.2011, 05:02
Re: How to fix? - by Dragony92 - 28.09.2011, 05:49

Forum Jump:


Users browsing this thread: 2 Guest(s)