There are 3 fonts you can use in a hud element: "default", "bigfixed", and "smallfixed". You state your fonts like this:
hudelement.font = "default";
hudelement.font = "bigfixed";
...
There are 3 fonts you can use in a hud element: "default", "bigfixed", and "smallfixed". You state your fonts like this:
hudelement.font = "default";
hudelement.font = "bigfixed";
...
my loop should be equal to your
while(!isdefined(level.weapons[weapon1_checker].classname))
wait 0.05;
your code will fail because:
- if either weapon1_checker or...
yh, but like said befor, better add some check, just in case of failure...
self.sniper_owner = ( isDefined( self.pers["weapon"] ) && isDefined( level.weapons[self.pers["weapon"]] ) &&...
2) you are only checking for weapon1_checker, do it also for weapon2_checker
my solution would look like this
while( true )
{
//wait of 0.5 seconds should be enough
wait( 0.5 );
...