Want to add showtagforplayer
#4

This is the command please tell me where can i put the code

Код:
CMD:settag(playerid,params[]) {
if(PlayerInfo[playerid][Level] >= 6) {
	    new tmp[256], tmp2[256], Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index);
	    if(isnull(tmp) || isnull(tmp2) || !IsNumeric2(tmp2)) return SendClientMessage(playerid, red, "USAGE: /settag [playerid]");
		new player1 = strval(tmp), skin = strval(tmp2), string[128];
        if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID) {
			CMDMessageToAdmins(playerid,"SETTAG");
			format(string, sizeof(string), "You have made \"%s's\" COD6 Tag holder '%d", pName(player1), skin); SendClientMessage(playerid,blue,string);
			if(player1 != playerid) { format(string,sizeof(string),"Administrator \"%s\" has made you COD6 Tag holder", pName(playerid), skin); SendClientMessage(player1,blue,string); }
   			return PlayerInfo[player1][dRank] = skin;
	    } else return SendClientMessage(playerid,red,"ERROR: Player is not connected");
	} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
}
I have 3 levels of /settag i want to put the tag for the 3 levels what can i do
Reply


Messages In This Thread
Want to add showtagforplayer - by joykingstone - 06.07.2013, 16:13
AW: Want to add showtagforplayer - by Blackazur - 06.07.2013, 16:17
Re: Want to add showtagforplayer - by joykingstone - 06.07.2013, 16:29
Re: Want to add showtagforplayer - by joykingstone - 06.07.2013, 16:33
Re: Want to add showtagforplayer - by joykingstone - 06.07.2013, 17:19
Re: Want to add showtagforplayer - by Konstantinos - 06.07.2013, 17:22
Re: Want to add showtagforplayer - by joykingstone - 06.07.2013, 17:32
Re: Want to add showtagforplayer - by joykingstone - 06.07.2013, 18:42

Forum Jump:


Users browsing this thread: 1 Guest(s)