"Nothing to change into here!"
parent
7b2eefcdd7
commit
3dc124fcf1
|
@ -700,8 +700,6 @@ enableThirdPersonSwitch(playerCommand, value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Binds a player command to let the player change into the model they
|
* Binds a player command to let the player change into the model they
|
||||||
* are looking at.
|
* are looking at.
|
||||||
|
@ -733,7 +731,7 @@ enableModelChange(playerCommand) {
|
||||||
trace = BulletTrace(origin, origin + anglestoforward(player getplayerangles()) * 1000000, false, player);
|
trace = BulletTrace(origin, origin + anglestoforward(player getplayerangles()) * 1000000, false, player);
|
||||||
if (!IsDefined(trace) || !IsDefined(trace["entity"]) || !IsDefined(trace["entity"].model) || !IsDefined(trace["entity"].classname))
|
if (!IsDefined(trace) || !IsDefined(trace["entity"]) || !IsDefined(trace["entity"].model) || !IsDefined(trace["entity"].classname))
|
||||||
{
|
{
|
||||||
player IPrintLnBold(trace);
|
player IPrintLnBold("^1Nothing to change into here.");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (trace["entity"].classname != "script_model")
|
if (trace["entity"].classname != "script_model")
|
||||||
|
@ -874,7 +872,6 @@ enableUnlimitedReload()
|
||||||
player waittill("reload");
|
player waittill("reload");
|
||||||
|
|
||||||
player GiveMaxAmmo(player GetCurrentWeapon());
|
player GiveMaxAmmo(player GetCurrentWeapon());
|
||||||
//player GiveMaxAmmo(player GetCurrentOffhand());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue