

We do this by following along with an example weapon that you can download in the list above. We will look at making a custom weapon for TTT, both the code side and the graphical side. AK47 weapon: an example scripted weapon.psd file for creating a menu icon in the style of the other TTT icons. Some example content and a guide to creating a custom weapon for TTT. Can I make my custom weapon cost 2 or 3 credits instead of 1?.ulx votefs - Triggers a vote to force a player to spectator mode.ulx votenrs - Triggers a vote to slay the player the following round.ulx roundrestart - Restarts the current round.ulx prevwin - Stops rounds from ending, useful for debuging.ulx minply - Sets the minimum amount of players for a round to start.ulx proptime - Changes the recharge time on spectator controlled props.ulx credits - gives specified value of credits to the target player.ulx impairnr - Impairs a players health by given amount the next round (Thanks Decicus).ulx removebody - Removes a players corpse (Thanks Neku).ulx identify/ ulx unidentify - Identifies or identifies a players corpse (Thanks Neku).

ulx slaynr - carries out the set amount of slays at every round start.ulx karma - changes target players karma to the specified value.ulx unafk - forces the target player back into player mode (opposite to the afk command.).ulx fspec - forces the target player into the afk mode similar to how the gamemode would.ulx forcenr Prams: traitor detective, unmark - carries out the action specified in the following round to next round force traitor/detective the group must have permission to ulx force.ulx force Prams: innocent, traitor detective - Changes target players role to the pram specified and gives the appropriate amount of credits.

ulx respawntp - Respawns the target player at the location the admin is looking.

