SA-MP Forums Archive
Quick Question - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Quick Question (/showthread.php?tid=77885)



Quick Question - FreeSoul - 15.05.2009

I need a cmd like /nameoff that won't show the player's name above his head anymore.
I managed to do this but with something like /nameoff and /nameon,I don't need it like that.
I need it like,if the player types twice /nameoff first time will set his name off then his name on
And if he says something it will appear like Unknown says: Hello.
It can help me a lot.


Thanks in advance
I really need this.
have a nice day/night.



Re: Quick Question - FreeSoul - 15.05.2009

bump


Re: Quick Question - Djiango - 15.05.2009

pawn Код:
for(new i = 0; i < PLAYERS; i++)
{
  ShowPlayerNameTagForPlayer(playerid, i, true); //change to false to disable.
}



Re: Quick Question - FreeSoul - 15.05.2009

Already have this,but it's not what I want.


Re: Quick Question - Derksen123 - 15.05.2009

can you give me script for nameoff or nameon
because i need that


Re: Quick Question - FreeSoul - 15.05.2009

Need it to,sorry...


Re: Quick Question - Derksen123 - 15.05.2009

Quote:
Originally Posted by FreeSoul
Need it to,sorry...
no problem i cant find it we wait for it


Re: Quick Question - Djiango - 15.05.2009

Oh sorry, thought you where looking for, a regular nametag command.
Try using a variable, to check if the player has typed the command twice.
If he has, do some changes in OnPlayerText.

Also for a complete names on/off command. Use search! There're plenty, of these command around.

Or simply put the loop, into a new command.


Re: Quick Question - FreeSoul - 15.05.2009

I managed to do something but it doesn't work at all.
I searched /nameoff but no results that really work.
Really need this


Re: Quick Question - Djiango - 15.05.2009

I'm still not quite sure, what you need.
But here's a filterscript I just created! It should contain what you're looking for, so edit it like you want.
Pastebin(click me)