Game Development Community

Scripting problems???

by Martin Edmaier · in Torque Game Engine · 01/03/2002 (10:39 am) · 1 replies

Hi guys! I opened the rifle.cs file and replaced the word rifle to shotgun then I added to the games.cs exec("./shotgun.cs"); .
I can't pick up the shotgun! Why???
Thanks a lot

Martin Edmaier

#1
01/03/2002 (11:32 am)
Add shotgun in inventory of the /server/scripts/player.cs
also remember to add ammo.

If a weapon is not in the players inventory you cannot pick it up.

// Clocks out