Tag help-
#1

define: player = Normal Player
define: admin = admin

When a player joins with COD tag will be kicked, when an admin joins the server with COD tag, can stay up.

I want cmds: /addCod (Adds name to the list)
/removeCod (Removes name from the list)
Reply
#2

Well, you can make a file and store all the names you wanted, and when player joined, get player's name and check if player's name existed in that file which you stored the names in.
Reply
#3

Use something like that
pawn Код:
new name[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
if(strfind(name, "[COD]", true) != -1 || PlayerInfo[playerid][pAdminLevel] == 0) return Kick(playerid);
//Change PlayerInfo[playerid][pAdminLevel] to your enum data.
This will be only if the player admin on level 1 or 2 or any level no need to waste your time creating /addcod and remove.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)