0 Members and 1 Guest are viewing this topic.
function GetPlayerName(ply) return trace.Entity:Nick() end GetPlayerName(ply) local pname = GetPlayerName(ply) --spawntrain stufftimer.Create( "bantrain", .3, 1, function( target_plys ) if pl:Alive() then RunConsoleCommand( "ulx ban", pname, 0 ) end ) end
[ERROR] addons/ulx/lua/ulx/modules/sh/fun.lua:97: unexpected symbol near ')' 1. unknown - addons/ulx/lua/ulx/modules/sh/fun.lua:0
if pl:Alive() then RunConsoleCommand( "ulx ban", pname, 0 )
if pl:Alive() then RunConsoleCommand( "ulx ban", pname, 0 ) end