Well i'm trying to make a weapon spawner thing (Without GUI for now), i currently have two weapons, but it works only for the deagle, when i try to spawn the second weapon nothing happens, this is the current code.
Code:
{$CLEO .cs}
thread 'WPN'
:WPN_01
wait 100
if
0ADC: test_cheat "DEAGLE"
else_jump @WPN_01
Model.Load(24)
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR,24,75)
0ACD: show_text_highpriority "~w~ Given a ~r~ DEAGLE ~w~ and ~y~75 ~w~ammo." time 1337
jump @WPN_01
:WPN_02
wait 100
if
0ADC: test_cheat "SAWN"
else_jump @WPN_02
Model.Load(26)
Actor.GiveWeaponAndAmmo($PLAYER_ACTOR,26,80)
0ACD: show_text_highpriority "~w~ Given a ~r~ SAWN-OFF ~w~ and ~y~ 80 ~w~ ammo." time 1337
jump @WPN_02