Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Commit a0a897c

Browse files
CleversonCleverson
authored andcommitted
Added native to get winning team
Added native to get winning team
1 parent 1bc837a commit a0a897c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

addons/amxmodx/scripting/PugCore.sma

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ public plugin_natives()
146146
register_native("PugRoundEnd","CoreRoundEnd");
147147

148148
register_native("PugRoundWinner","CoreRoundWinner");
149+
150+
register_native("PugGetWinner","CoreGetWinner");
149151
}
150152

151153
public client_authorized(id)
@@ -646,6 +648,11 @@ fnDisplayScores(id,sMethod[])
646648
}
647649
}
648650

651+
public CoreGetWinner(id,iParams)
652+
{
653+
return fnGetWinner();
654+
}
655+
649656
fnGetWinner()
650657
{
651658
new iWinner = 1,iTied;

0 commit comments

Comments
 (0)