Actually it happens whenever I use my ulx.stuck command. It works fine, and doesn't cause any problems but this error pops up, and I just wanted to know what it was. Here's my "!stuck" command:
function ulx.stuck( calling_ply )
if not calling_ply:Alive() then
ULib.tsayColor(calling_ply, _, Color(255, 0, 0), "You can't do that!")
else
local pos = calling_ply:GetPos()
ULib.tsayColor(calling_ply, true, calling_ply, "You will be respawned in 5 seconds. DONT MOVE YOUR MOUSE OR TRY TO WALK!")
timer.Simple(5, function()
if IsValid( calling_ply ) then
if calling_ply:GetPos() == pos then
calling_ply:Spawn()
calling_ply:SetHealth( 50 )
calling_ply:StripWeapon("weapon_smg1")
calling_ply:Give("weapon_ar2")
calling_ply:GiveAmmo(250, "ar2")
ULib.tsayColor( _, Color(255, 60, 60, 255), calling_ply:Nick(), Color(0, 0, 255), " has been unstuck!:")
else
ULib.tsayColor(calling_ply, _, Color(255, 127, 0), "You moved during respawn cool down. Respawning aborted.")
end
end
end)
end
end
local stuck = ulx.command( "Prophunt", "ulx stuck", ulx.stuck, "!stuck" )
stuck:defaultAccess( ULib.ACCESS_ALL )
stuck:help( "Respawns you after 5 seconds if you're stuck" )
The only thing that malfunctions is on line 6, it does not print the phrase "You will be respawned....".
Also here is my Adverts.txt:
; ATTENTION! /ADDONS/ulx/data/ulx/<this file> is a DEFAULT file. DO NOT EDIT THE /ADDONS/ULX/DATA/ULX FOLDER FILE!!!
; Instead, edit the version in <garrysmod root>/data/ulx/ if it exists. If it doesn't, copy this file to <gmod root>/data/ulx/ to create it.
; Here's where you put advertisements
;
; Whether an advertisement is a center advertisement (csay) or text box advertisement (tsay) is determined by
; whether or not the "time_on_screen" key is present. If it is present, it's a csay.
;
; The 'time' argument inside a center advertisement and the number following a chat advertisement are the
; time it takes between each showing of this advertisement in seconds. Set it to 300 and the advertisement
; will show every five minutes.
;
; If you want to make it so that one advertisement is shown and then will always be followed by another,
; put them in a table. For example, if you add the following to the bottom of the file, A will always show
; first followed by B.
; "my_group"
; {
; {
; "text" "Advertisement A"
; "time" "200"
; }
; {
; "text" "Advertisement B"
; "time" "300"
; }
; }
{
"text" "You're playing on %host%, enjoy your stay!"
"red" "100"
"green" "255"
"blue" "200"
"time_on_screen" "10"
"time" "300"
}
{
"text" "This server is running ULX Admin Mod version %ulx_version% by Team Ulysses -- ulyssesmod.net"
"time" "635"
}