Hey I have something written like so...
procedure ForceWeapon(ID, Primary, Secondary, Ammo: Byte);
var
testcase: string;
begin
testcase := IDToName(ID);
begin
if testcase = 'test'
then Primary := 13;
end;
end;
according to my logic this should force someone with name test to use chainsaw, but i've tried it and it seems to do nothing....
Just wondering how this function actually works. Maybe not as obvious as stated in server help....