Recent Posts

Pages: 1 ... 8 9 [10]
Developers Corner / Help
« Last post by UwU me no advertise on June 13, 2020, 12:03:12 AM »
My commands won't work,  won't pop up in the xgui does not change anything. Ill paste the command below but sorry if it is trash i started lua yesterday.

Code: Lua
  1. CATEGORY_NAME "My Ulx Stuff"
  2. ------------------------------Reset------------------------------
  3. function ulx.reset( calling_ply, target_ply )
  4. if target_ply:IsFrozen() then -- Checks if target is frozen
  5.         ULib.tsayError ( calling_ply, v:Nick() .. " That boi is cold / frozen use !unfreeze to warm him up!"
  6.         if target_ply:Alive() then
  7.                 target_ply:Kill() -- Kill the player
  8.                 if not target_ply:Alive() then
  9.                         target_ply:Spawn() -- Respawns the player
  10.                 ulx.fancyLogAdmin( calling_ply, true "#a respawned #t"
  11.         end
  12. end
  16. local reset = ulx.command( CATEGORY_NAME, "ulx reset", ulx.reset, "!reset" )
  17. reset:addParam{ type=ULib.cmds.PlayersArg }
  18. reset:defualtAccess( ULib.ACCESS_ADMIN )
  19. reset:help( "resets the selected target. " )

[EDIT] - Timmy Use BBCode to format code snippet.
Releases / Re: URL Playsound Addon :) [2.28v]
« Last post by JamminR on June 12, 2020, 06:26:53 PM »

Téléchargez votre mp3 sur un serveur Web http. Ensuite, http; //
Releases / Re: URL Playsound Addon :) [2.28v]
« Last post by [CTG] Thomas Macronic on June 12, 2020, 02:37:16 PM »
Bonjour à vous ! J'aimerai savoir comment faire pour convertir un fichier mp3 en url. Car je n'arrive pas à utiliser l'addon.
Developers Corner / Re: help script
« Last post by iViscosity on June 12, 2020, 01:38:26 PM »
Looking at the DarkRP wiki (which I assume this is for), that function doesn't exist anywhere. You could define the function, and use other functions to populate the data it would return, for example, use the SERVERSIDE playerArrested hook to populate a shared table on the player object containing said information.
General Chat & Help and Support / anyway to change this?
« Last post by NoFuture on June 12, 2020, 01:30:55 PM »
Am i able to change the colours and change it so it says the name of the admin not (someone)?
General Chat & Help and Support / MOVED: help script
« Last post by JamminR on June 11, 2020, 06:17:19 PM »
Developers Corner / Re: help script
« Last post by JamminR on June 11, 2020, 06:16:55 PM »
method 'GetArrestInfo' (a nil value)

Method is nil. Empty.
Hud is client side.
Is that funtion server side?

Also, moving to developer corner, you posted in section for team Ulysses project support.
Developers Corner / help script
« Last post by $VDFOREVER on June 11, 2020, 02:52:12 PM »
Hello, I have a script for showing time in jail, but I have a mistake. Help fix it.

Code: Lua
  1. hook.Add("HUDPaint", "JailTime", function()
  2.         if LocalPlayer():isArrested() then
  3.                 draw.RoundedBox(8, 8, 10, 570, 35, Color(30, 30, 30))
  4.                 draw.SimpleText("Before leaving prison "..math.floor(LocalPlayer():GetArrestInfo().Release - CurTime()).." seconds.","HudFontBold", 10, 10, Color(80, 80, 80))
  5.         end
  6. end)

[ERROR] lua/autorun/client/cl_jail.lua:5: attempt to call method 'GetArrestInfo' (a nil value)
  1. fn - lua/autorun/client/cl_jail.lua:5
   2. unknown - addons/ulx_ulib/lua/ulib/shared/hook.lua:109

Suggestions / adding or suggesting a reconnect command please help
« Last post by [IFN] Maddoxtheco [A] on June 10, 2020, 12:14:56 PM »
I have a server that i made that i use for testing my coding lua skills and play with friends and some times i want to reconnect them with a command but I can not seem to find anyhelp with it. I know that some darkrp servers like icefuse, elite, etc have something like that and i just want that on my server any ideas?
Update: I have now taken to see if i can make the command my self by taking the IP of the server a bunch of times and if there the same everytime than that means that i can just take the connect IP command and turn that into a command.

update 2 i have been trying for the like two hours and so far nothing so i am now leaving it up to someone to see if there can help me or make the command as I have been searchinh on google also and nothing that seems right is showing.
General Chat & Help and Support / MOVED: ulx screengrab help
« Last post by JamminR on June 02, 2020, 08:20:56 PM »
This topic has been moved to Developers Corner.
Not made by team Ulysses
Pages: 1 ... 8 9 [10]