General > Developers Corner

Help with some ulx commands

(1/1)

Maxi:
Could someone in here help me make some ulx commands like this examples

!returnwep or !refund = return weapons the target player had before they died
!showdeath = mark the place where the target player died
!gotocar = goto car owned by target player

roastchicken:
For the first two these might be useful:

Player:GetWeapons
Entity:GetPos
GM:DoPlayerDeath

roastchicken:

--- Quote from: Maxi on April 26, 2016, 03:45:45 AM ---How do i make it turns weapons into a table?

--- End quote ---

Player:GetWeapons

Returns a table of the player's weapons.

Navigation

[0] Message Index

Go to full version