No Name Without Passport/ID - 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: No Name Without Passport/ID (
/showthread.php?tid=183833)
No Name Without Passport/ID -
Ritchie999 - 17.10.2010
How could i do something like
Код:
"Stranger Says: Hello
"Officer Adam Says: Show me your ID
*Stranger shows the officer his ID*
*Name Unlocked*
"Mike_Ryan May i have my ID back please officer?"
Mike Ryan = Stranger.. His name is see-able in the In Character (Local IC) chat box once his ID is seen
(His name is only see-able to the officer who seen his identification but to everyone else in the server he's seen as Stranger)
I got completely stuck for words when i tried searching, I have no clue what it would be called.
But, if you understand what i'm talking about, please respond here
Re: No Name Without Passport/ID -
cessil - 17.10.2010
hide the default name tags and use 3d text labels for individual players.
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Re: No Name Without Passport/ID -
Ritchie999 - 17.10.2010
I don't understand. Wouldnt 3d Text labels make the message pop up above their head?
Re: No Name Without Passport/ID -
Lilcuete - 17.10.2010
Just make a variable.when he does /showid make it
pawn Код:
new ID[MAX_PLAYERS] ID[playerid] = 1; and in ur chat like do if(ID[playerid] == 1){
//put your code here to make it show players name.
;