mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-22 16:47:53 -05:00
Update scripts to better decompiled scripts.
This commit is contained in:
19
MP/Core/codescripts/character_mp.gsc
Normal file
19
MP/Core/codescripts/character_mp.gsc
Normal file
@ -0,0 +1,19 @@
|
||||
// T6 GSC SOURCE
|
||||
// Decompiled by https://github.com/xensik/gsc-tool
|
||||
#include codescripts\character;
|
||||
|
||||
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 ), "", 1 );
|
||||
}
|
Reference in New Issue
Block a user