18.08.2016, 10:31
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
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);
}

