help me out a bit
#1

when i do mute it appear
Server: Unknown command +
SendFMessageToAll(red,"MUTED: has been muted [reason: %s]",pName,reason); (it dosnt appear the name)+
it dosnt mute why?
pawn Код:
dcmd_mute(playerid,params[])
{
    new id,reason,pName[MAX_PLAYER_NAME],file[128];
    if(PInfo[playerid][Level] < 3) return 0;
    if(sscanf(params,"us",id,reason)) return SCM(playerid,orange,"USAGE: /mute [id][reason]");
    PInfo[id][Muted] = 1;
    GetPlayerName(id,pName,sizeof(pName));
    format(file,sizeof(file),"MyAdmin/Users/%s.ini",pName);
    dini_IntSet(file,"Muted",1);
    SendFMessageToAll(red,"MUTED:%s has been muted [reason: %s]",pName,reason);
    return 1;
}
Reply


Messages In This Thread
help me out a bit - by MestreKiller - 21.12.2010, 17:44
Re: help me out a bit - by blackwave - 21.12.2010, 17:46
Re: help me out a bit - by MestreKiller - 21.12.2010, 17:55
Re: help me out a bit - by Mikkel_Pedersen - 21.12.2010, 18:01
Re: help me out a bit - by MestreKiller - 21.12.2010, 19:14
Re: help me out a bit - by XePloiT - 21.12.2010, 19:57

Forum Jump:


Users browsing this thread: 1 Guest(s)