Mask id problem
#1

hey there
i was trying to make masks system with id but the problem is that i've putted 4 random numbers (9999)
and when i put the mask on it gives player the numbers this is okay but when player speaks everytime he writes something his numbers change
i want the player to have same numbers till he quits
can you please help me with this

code
Код HTML:
new string[300];
	     new rand = random(9999)+1;
	     format(string, sizeof(string), "Stranger[%d]",rand);
		    if(PlayerTemp[playerid][hname]==1) myStrcpy(sender,string);
		    else myStrcpy(sender,RPName(playerid));
			if(text[0]== '('){
				new mid[MAX_STRING];
				strmid(mid,text,1,256,sizeof(mid));
				format(stringa,sizeof(stringa),"%s says: (( %s ))",RPName(playerid),mid);
			}
Reply


Messages In This Thread
Mask id problem - by ThatFag - 18.08.2016, 10:31
Re: Mask id problem - by Marricio - 18.08.2016, 12:21
Re: Mask id problem - by ThatFag - 18.08.2016, 13:16
Re: Mask id problem - by Marricio - 18.08.2016, 15:01
Re: Mask id problem - by ThatFag - 18.08.2016, 15:25
Re: Mask id problem - by Marricio - 18.08.2016, 15:31
Re: Mask id problem - by ThatFag - 18.08.2016, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)