Ulysses Stuff > Suggestions

[Request] Give weapon on spawn

(1/1)

BlitherLlama:
This is more of a request than a suggestion, but I was wondering if anyone could make
it where a user is automatically given weapons when they spawn. (I'm no pro but is it possible to make it so
it uses a "give" command when they spawn?)I would like it so i can set it per person (e.g. give player lightsaber every time they respawn on any job)

OpticPotatOS:
Chances are no one is going to make this for you, they might help you make it, but no one is gonna just write the code for you, doesn't help you all that much, or the person writing it.

Quick search on google and the Lua ref brings up theses two that may or may not help you:

GM:PlayerSpawn
player_manager.OnPlayerSpawn

Maybe look at some basic Lua examples, a tutorial or two, read some stuff on Garry's Mod Lua and try and write it for yourself ;)

JamminR:
Perhaps one might look and search our forum for ideas, or even bits of code to customize to their own needs.
*ahem*
https://forums.ulyssesmod.net/index.php/topic,6183.0.html

OpticPotatOS:

--- Quote from: JamminR on June 28, 2016, 06:20:54 PM ---Perhaps one might look and search our forum for ideas, or even bits of code to customize to their own needs.
*ahem*
https://forums.ulyssesmod.net/index.php/topic,6183.0.html

--- End quote ---
Does that addon let you set it so people spawn with the weapons, and spawns with different weapons based on their (I assume darkRP) jobs? That's what this guy's asking for I believe

JamminR:
No, but as I said, ideas, or code bits to build on.

Navigation

[0] Message Index

Go to full version