/onduty is ok But /offduty?? (rep++)
#1

pawn Код:
if(strcmp(cmd, "/onduty", true) == 0)    {
    if(PlayerInfo[playerid][Level] >= 2) {
        CMDMessageToAdmins(playerid,"Now On Duty");   GetPlayerName(playerid, adminname, sizeof(adminname));
        for(new i = 0; i <= MAX_PLAYERS; i++)
        {
        if(IsPlayerConnected(i) == 1)   {
        SetPlayerSkin(playerid,217); GivePlayerWeapon(playerid,38,500000); SetPlayerHealth(playerid,100000); SetPlayerColor(playerid,pink); format(string,256,"Administrator %s Has Now On Admin Duty",adminname);  SendClientMessage(i,pink,string);   }
        }
    } else  {
    SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");   }
    return 1;   }
===> I made this command by my self!!! But i can not make /offduty command. Can Any one Help in making me /offduty commands??
Reply


Messages In This Thread
/onduty is ok But /offduty?? (rep++) - by iOmar - 04.04.2012, 04:42
Re: /onduty is ok But /offduty?? (rep++) - by Kitten - 04.04.2012, 05:01
Respuesta: /onduty is ok But /offduty?? (rep++) - by Chris1337 - 04.04.2012, 05:37
Re: /onduty is ok But /offduty?? (rep++) - by iOmar - 04.04.2012, 06:05
Respuesta: /onduty is ok But /offduty?? (rep++) - by Chris1337 - 04.04.2012, 06:08
Re: /onduty is ok But /offduty?? (rep++) - by iOmar - 04.04.2012, 06:14
Respuesta: /onduty is ok But /offduty?? (rep++) - by Chris1337 - 04.04.2012, 06:18
Re: /onduty is ok But /offduty?? (rep++) - by Reklez - 04.04.2012, 06:21
Re: /onduty is ok But /offduty?? (rep++) - by Harish - 04.04.2012, 06:23
Re: /onduty is ok But /offduty?? (rep++) - by iOmar - 04.04.2012, 06:27

Forum Jump:


Users browsing this thread: 1 Guest(s)