I need help with these commands i cant see any of them in the XGui please help
Game mode(s) I am having this problem on:
DarkRP
local CATERGORY_NAME = "Respawn"
function ulx.respawn( calling_ply, target_ply )
if not target_ply:Alive() then
target_ply:Spawn()
ulx.fancyLogAdmin( calling_ply, true, "#A Respawned #T", target_ply )
end
end
local respawn = ulx.command( CATERGORY_NAME, "ulx respawn", ulx.respawn, "!respawn", true )
respawn:addParam{ type=ULib.cmds.PlayerArg }
respawn:defaultAccess( ULib.ACCESS_ADMIN )
respawn:help( "Respawns a player/target cmd made by Drew" )
function ulx.srespawn( calling_ply, target_ply )
if not target_ply:Alive() then
target_ply:Spawn()
ulx.fancyLogAdmin( calling_ply, true, "", target_ply )
end
end
local respawn = ulx.command( CATERGORY_NAME, "ulx srespawn", ulx.srespawn, "!srespawn", true )
respawn:addParam{ type=ULib.cmds.PlayerArg }
respawn:defaultAccess( ULib.ACCESS_ADMIN )
respawn:help( "Silenty respawns a player/target cmd made by Drew" )