I have problem i wrote a little kind of code and it doesn't work
i take this code here:
Code:
local Player = GetPlayer ()
local Actors = GetActors ()
function wtfux.attacka ()
if ( Actor:Get ( "Attackable" ) ) and ( Actor ~= Player ) then
if (Arguments == nil) or (Arguments == "") then
Attack (Actor, 0)
end
Register ( wtfux, "wtfux" )
AddCommand ( wtfux.attacka, "autoattack", "", "Autoattack once monster" )
thank you...






