Update traderDiag_name.sqf

This commit is contained in:
vbawol 2019-03-01 07:09:29 -06:00 committed by GitHub
parent b32d6b7044
commit 53fde0c692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ _trader = objNull;
_nrMn = nearestObjects [player, ["C_Man_1"], 16];
_trader = _nrMn select 0;
if(_trader getVariable ["traderName",""]== "")then{
_nameArr = ["Aaron Clark","Kenneth Bente","Damian Clark","Raimonds Virtoss","Richie","Paden Sturtevant","Darren Harrison","Paul Tomany","Dan","Darren Harrison","Niklas Wagner","Andrew Gregory","Isaac Gregory","Florian Kinder","Denis Erygin","Alan Denham"];
_nameArr = ["Aaron Clark","Kenneth Bente","Damian Clark","Raimonds Virtoss","Richie","Paden Sturtevant","Darren Harrison","Dan","Darren Harrison","Niklas Wagner","Andrew Gregory","Isaac Gregory","Florian Kinder","Denis Erygin","Alan Denham"];
_trdrCurrName = name _trader;
if((random 100) < 6 && !(_trdrCurrName in _nameArr))then{
_newName = selectRandom _nameArr;