RCON COmmands needed
#7

Quote:
Originally Posted by JAMMIEISFTW
Посмотреть сообщение
HELLOOO? THE ABOVE DIDNT WORK>.... CAN ANYONE DO IT IN DCMD....

OOPS CAPS>..
HELLOOOOO above its ZCMD command and to use it you need zcmd include but here for dcmd

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    dcmd(adminsay, 8, cmdtext);
    return 0;
}


dcmd_adminsay(playerid , params[])
{
   if(IsPlayerAdmin(playerid)
   {
//here goes all code
   new string[128],pName[MAX_PLAYER_NAME];
   if(isnull(params)) return SendClientMessage(playerid , -1 , "Add a message /adminsay <msg>");
   GetPlayerName(playerid,pName,sizeof(pName));
   format(string,sizeof(string),"%s: %s",pName,params);
   SendClientMessageToAll(0xFFFFFF, string);
//-------
   }else  SendClientMessage(playerid , -1 , "You Not RCON admin");
return 1;

}
Reply


Messages In This Thread
RCON COmmands needed - by JAMMIEISFTW - 30.04.2012, 17:16
Re: RCON COmmands needed - by JAMMIEISFTW - 30.04.2012, 17:19
Re: RCON COmmands needed - by Niko_boy - 30.04.2012, 17:29
Re: RCON COmmands needed - by JAMMIEISFTW - 01.05.2012, 16:11
Re: RCON COmmands needed - by JAMMIEISFTW - 01.05.2012, 16:16
Re: RCON COmmands needed - by JAMMIEISFTW - 01.05.2012, 16:51
Re: RCON COmmands needed - by doreto - 01.05.2012, 17:14
Re: RCON COmmands needed - by JAMMIEISFTW - 02.05.2012, 15:09
Re: RCON COmmands needed - by JAMMIEISFTW - 05.05.2012, 10:57
Re: RCON COmmands needed - by JAMMIEISFTW - 07.05.2012, 12:37

Forum Jump:


Users browsing this thread: 1 Guest(s)