mirror of
https://github.com/InfinityLoader/IL-GSC.git
synced 2025-06-07 17:17:50 -05:00
32 lines
668 B
Plaintext
32 lines
668 B
Plaintext
/*******************************************************************
|
|
* Decompiled By: Bog
|
|
* Decompiled File: codescripts\character_mp.gsc
|
|
* Game: Call of Duty: Black Ops 2
|
|
* Platform: PC
|
|
* Function Count: 3
|
|
* Decompile Time: 2 ms
|
|
* Timestamp: 10/28/2023 12:10:19 AM
|
|
*******************************************************************/
|
|
|
|
#include codescripts/character;
|
|
|
|
//Function Number: 1
|
|
setmodelfromarray(a)
|
|
{
|
|
self setmodel(a[randomint(a.size)]);
|
|
}
|
|
|
|
//Function Number: 2
|
|
precachemodelarray(a)
|
|
{
|
|
for(i = 0;i < a.size;i++)
|
|
{
|
|
precachemodel(a[i]);
|
|
}
|
|
}
|
|
|
|
//Function Number: 3
|
|
attachfromarray(a)
|
|
{
|
|
self attach(codescripts/character::randomelement(a),"",1);
|
|
} |