General > Developers Corner

Melees and PointShop

<< < (2/2)

Avoid:
It looks like you are running the deathrun version by Mr. Gash, open up init.lua and take a look at the Loadout of the player:


--- Code: ---function GM:PlayerLoadout( ply )

ply:Give("weapon_crowbar")

end

--- End code ---

Zmaster:
I previously changed that to a variable on a failed attempt to do this myself

--- Code: ---function GM:PlayerLoadout( ply )

ply:Give(MyDRWeapon)

end

MyDRWeapon = "weapon_crowbar"
--- End code ---

My guess on fixing this would be to remove that line then add crowbar to the PointShop and make it free

(Edit: I knew that would fix my problem, but I was hoping there would be another way)

(Second edit: Problem solved thanks to Avoid's solution. Thanks!)

Navigation

[0] Message Index

[*] Previous page

Go to full version