mask and ID number at name - 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: mask and ID number at name (
/showthread.php?tid=493377)
mask and ID number at name -
Lajko1 - 08.02.2014
Hello I want to make /mask but when player will hide his name it won't change it if he will press TAB I want to make it only when player will talk there will be 1 random ID at end of his name that won't change everytime he will speak, how can I do that?
I saw this code somewhere:
pawn Код:
new randomID = random(200);
new string[35];
isStranged[playerid] = true;
GetPlayerName(playerid, string, sizeof(string));
strmid(OldUsername[playerid], string, 0, strlen(string), 64);
format(string,sizeof(string), "Stranger", randomID);
But this will change his name and when he will put it off it will change his name back to normal so players will be able to check who was the player with that mask under TAB button :/
Can you help me with this please ?
Re: mask and ID number at name -
Lajko1 - 09.02.2014
I still need help with this, anyone? rep+ for helpers as always