cod4-sdk/raw/codescripts/character_mp.gsc
2008-01-19 00:00:00 +00:00

15 lines
247 B
Text

setModelFromArray(a)
{
self setModel(a[randomint(a.size)]);
}
precacheModelArray(a)
{
for (i = 0; i < a.size; i++)
precacheModel(a[i]);
}
attachFromArray(a)
{
self attach(codescripts\character::randomElement(a), "", true);
}