[Request] RP Tutorials
#1

I need some tutorials to add some features to my RP Script.

I am on about:

/o, /n, /b, /s

Factions

Implementing local chat they are the only ones. I cant find one on the search feature.

Oh and how do I set admin levels and make /admins with ZCMD .

I cant find out ;/

Also how to make it so It is only a certain level+ who can do a cmd.

Sorry for all questions but I only been scripting a month This script will be for my server
Reply
#2

pawn Код:
CMD:o(playerid, params[])
{
    if(gPlayerLogged{playerid} == 0)
    {
        SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
        return 1;
    }
    if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/o)oc [ooc chat]");
        new string[128];
        format(string, sizeof(string), "(( %s: %s ))", GetPlayerNameEx(playerid), params);
        OOCOff(COLOR_OOC,string);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)