0 Members and 1 Guest are viewing this topic.
for i := 1 to 14 do begin if i != OneWep then SetWeaponActive(0,i,false) else SetWeaponActive(0,i,true);
begin inc(OneWep,1); if OneWep = 15 then OnWep := 1; SetWeaponActive(OldWep,false);
if OneWep = 15 then OnWep := 1
if OneWep = 15 then OneWep := 1 //with the e in Onewep := 1
So you're saying I should use the integer type for the variable instead of byte, right?