/tagsoff
#1

Im confused with making a /tagsoff command and cant find one anywhere, it just basicly hides your nametag and sets your minimap radar to invisible if that helps..
Reply
#2

basicly i think this is it

Код:
CMD:tagson(playerid,params[])
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
    	ShowPlayerNameTagForPlayer(playerid, i, 1);
	}
	SetPlayerColor(playerid, 0xffffffff);
	SendClientMessage(playerid, -1, "Everyone can see you!");
	return 1;
}

CMD:tagsoff(playerid,params[])
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
    	ShowPlayerNameTagForPlayer(playerid, i, 0);
	}
	SetPlayerColor(playerid, 0xffffff00);
	SendClientMessage(playerid, -1, "No-one can see you!");
	return 1;
}
Reply
#3

You could post this on Script Request Thread.
Reply
#4

Yea that compilied perfectly, thanks !
Reply
#5

pawn Код:
CMD:tagsoff(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        ShowPlayerNameTagForPlayer(playerid, i, false);
        SetPlayerColor(playerid, 0x00FF00AA);
    }
    return 1;
}

CMD:tagson(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        ShowPlayerNameTagForPlayer(playerid, i, true);
        SetPlayerColor(playerid, 0xFFFFFFFF);
    }
    return 1;
}
hmm ..
Reply
#6

Quote:
Originally Posted by [xB]Lordz
Посмотреть сообщение
You could post this on Script Request Thread.
Wheres that? ://
Reply
#7

Quote:
Originally Posted by Devilxz97
Посмотреть сообщение
pawn Код:
CMD:tagsoff(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        ShowPlayerNameTagForPlayer(playerid, i, false);
        SetPlayerColor(playerid, 0x00FF00AA);
    }
    return 1;
}

CMD:tagson(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        ShowPlayerNameTagForPlayer(playerid, i, true);
        SetPlayerColor(playerid, 0xFFFFFFFF);
    }
    return 1;
}
hmm ..
devil man! I thought you were quiting?
Reply
#8

Quote:
Originally Posted by [xB]Lordz
Посмотреть сообщение
You could post this on Script Request Thread.
hmm, lordz why not just try help him ?
this is a simple cmd . -,-
Reply
#9

Quote:
Originally Posted by Devilxz97
Посмотреть сообщение
hmm, lordz why not just try help him ?
this is a simple cmd . -,-
Yea, it might be simple but I just didnt know what thing to put in xD lol.
Reply
#10

Quote:
Originally Posted by [xB]Lordz
Посмотреть сообщение
You could post this on Script Request Thread.
Don't worry I found it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)