checked 54 patch_mp/maps/mp scripts

This commit is contained in:
JezuzLizard
2020-06-13 01:37:00 -07:00
parent a46530d2fd
commit d2202281cd
55 changed files with 1781 additions and 1815 deletions

View File

@ -1,8 +1,9 @@
//checked includes match cerberus output
#include common_scripts/utility;
#include maps/mp/_scoreevents;
#include maps/mp/_utility;
init()
init() //checked matches cerberus output
{
level.medalinfo = [];
level.medalcallbacks = [];
@ -10,7 +11,7 @@ init()
level thread onplayerconnect();
}
onplayerconnect()
onplayerconnect() //checked matches cerberus output
{
for ( ;; )
{
@ -19,22 +20,22 @@ onplayerconnect()
}
}
setlastkilledby( attacker )
setlastkilledby( attacker ) //checked matches cerberus output
{
self.lastkilledby = attacker;
}
offenseglobalcount()
offenseglobalcount() //checked matches cerberus output
{
level.globalteammedals++;
}
defenseglobalcount()
defenseglobalcount() //checked matches cerberus output
{
level.globalteammedals++;
}
codecallback_medal( medalindex )
codecallback_medal( medalindex ) //checked matches cerberus output
{
self luinotifyevent( &"medal_received", 1, medalindex );
self luinotifyeventtospectators( &"medal_received", 1, medalindex );