Can help ?
#3

Quote:
Originally Posted by DiGiTaL_AnGeL
Посмотреть сообщение
You'll need YCMD and sscanf. Use the search function to find them. Here is the command:
pawn Код:
YCMD:setzm(playerid, params[], help)
{
    #pragma unused params
    if(IsPlayerAdmin(playerid))//this will work only for rcon admins, change it to your admin variable
    {
        new recid;
        if(sscanf(params, "u", recid)) return SCM(playerid, 0xFF0000FF, "USAGE : /setzm [player id/name]");
        else
        {
            ZombieSetup(recid);
            SpawnPlayer(recid);
            SCM(playerid, 0xFF0000FF, "You're a zombie!");//change the message
            SetPlayerHealth(recid, 1000);//so it's going to be hard to kill him
        }
    }
    return 1;
}
This is that i chose one id that will be zombie other will be humans ?
Like:
i chose 2 ID
and 0,1,3,4,5,6,7,8,9,10 will be humans ?
Reply


Messages In This Thread
Can help ? - by ignas1125 - 04.03.2013, 15:55
Re: Can help ? - by DiGiTaL_AnGeL - 04.03.2013, 16:29
Re: Can help ? - by ignas1125 - 04.03.2013, 16:41
Re: Can help ? - by DiGiTaL_AnGeL - 04.03.2013, 16:45
Re: Can help ? - by ignas1125 - 04.03.2013, 16:49
Re: Can help ? - by Azazelo - 04.03.2013, 16:57
Re: Can help ? - by fordawinzz - 04.03.2013, 17:07
Re: Can help ? - by ignas1125 - 04.03.2013, 17:29

Forum Jump:


Users browsing this thread: 4 Guest(s)