#1

Ok so i have a prison rp gamemode not released yett or hosted. But i want it where when someone enter the server with for example Payton_Martin It makes them pick a number 3 digit then when they play instead of saying Payton_Martin it would be like inmate_326
Reply
#2

pawn Код:
// Somewhere in Script where you want to let the name changed (eg. OnPlayerSpawn because of gTeam or something else)
new rnd, newname[MAX_PLAYER_NAME];
rnd = RandomMiMa(100, 999);
format(newname,sizeof(newname),"inmate_%i",rnd);
SetPlayerName(playerid,newname);

stock RandomMiMa(min, max)
{
return random(max-min)+min;
}
Untested but should work.
Reply
#3

Will this make them change there SAMP name or not
Reply
#4

It will change their playername (when you press TAB for statistics or look the serverinfo), but they everytime can connect with their own name (Payton_Martin).
Or do you want that they only get messages with other name: "Payton_Martin: hello" -> "inmate_326: hello"?
Reply
#5

When there walking around and when they chat i want it to say inmate_326

Also would you like to script for us
Reply
#6

Do you want it to say "inmate_326" in the TAB and above the players name?
Reply
#7

That's what it does at the moment.
The player's name is for his complete online season "inmate_326".
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)