Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d28c654ee5 | ||
|
|
9b3250e499 | ||
|
|
2fddd8e732 | ||
|
|
edc4b8fecd |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Name": "Legonzaur.HoloShift",
|
"Name": "Legonzaur.HoloShift",
|
||||||
"Description": "Swap positions with your beloved decoy",
|
"Description": "Swap positions with your beloved decoy",
|
||||||
"Version": "0.3",
|
"Version": "1.0.4",
|
||||||
"LoadPriority": 2,
|
"LoadPriority": 2,
|
||||||
"Scripts": [
|
"Scripts": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ int recharge_remove = 1
|
|||||||
{
|
{
|
||||||
if ( IsValid(player) && IsAlive( player ))
|
if ( IsValid(player) && IsAlive( player ))
|
||||||
{
|
{
|
||||||
if(player.GetOffhandWeapon(1).GetWeaponClassName() == "mp_ability_holopilot"){
|
if( IsValid(player.GetOffhandWeapon(1)) && player.GetOffhandWeapon(1).GetWeaponClassName() == "mp_ability_holopilot"){
|
||||||
Assert(player)
|
Assert(player)
|
||||||
if(!player.IsPhaseShifted()){
|
if(!player.IsPhaseShifted()){
|
||||||
int chargeCount = player.GetOffhandWeapon(1).GetWeaponPrimaryClipCount()
|
int chargeCount = player.GetOffhandWeapon(1).GetWeaponPrimaryClipCount()
|
||||||
@@ -58,4 +58,4 @@ int recharge_remove = 1
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user