Random aircraft tail numbers?
#1

Hey there,

I'm seaking a script that'll assign a random 5 character tail number (AA111 - ZZ999) to each aircraft in my gamemode. I've already created a means to detect when a player enters an aircraft (through OnPlayerStateChange), as I've made a flight instruments textdraw that shows in this case - all I need is the random string.

Bear in mind that I'll need to ensure each tail number is given to the vehicleid, not playerid, and that each is unique (ie no two aircraft could share the same one). It should generate the string, I assume, when a player enters the aircraft, as I'd like it to work for any aircraft I create mid-game.

Any help to get the ball rolling would be greatly appreciated.
Reply


Messages In This Thread
Random aircraft tail numbers? - by samsicles - 30.10.2010, 16:17
Re: Random aircraft tail numbers? - by iJumbo - 30.10.2010, 16:21
Re: Random aircraft tail numbers? - by MadeMan - 30.10.2010, 16:26
Re: Random aircraft tail numbers? - by samsicles - 30.10.2010, 16:32
Re: Random aircraft tail numbers? - by randomkid88 - 30.10.2010, 16:35
Re: Random aircraft tail numbers? - by samsicles - 30.10.2010, 17:23

Forum Jump:


Users browsing this thread: 1 Guest(s)