SA-MP Forums Archive
/tagsoff - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /tagsoff (/showthread.php?tid=373355)



/tagsoff - Socan - 30.08.2012

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..


Re: /tagsoff - Tika Spic - 30.08.2012

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;
}



Re: /tagsoff - Lordzy - 30.08.2012

You could post this on Script Request Thread.


Re: /tagsoff - Socan - 30.08.2012

Yea that compilied perfectly, thanks !


Re: /tagsoff - Devilxz97 - 30.08.2012

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 ..


Re: /tagsoff - Socan - 30.08.2012

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


Re: /tagsoff - Socan - 30.08.2012

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?


Re: /tagsoff - Devilxz97 - 30.08.2012

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 . -,-


Re: /tagsoff - Socan - 30.08.2012

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.


Re: /tagsoff - Socan - 30.08.2012

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