Creation/Dev/Script/Functions/disableweapons: Difference between revisions

From Graal Bible
(Created page with '''Clientside'' ''Serverside'' ''Description'' <p>Used to disable the 's' and 'd' keys for using the sword and npc weapons.</p> example:<pre> function onCreated() { disableweap…')
 
No edit summary
Line 1: Line 1:
[[Category:Scripting Reference]]
''Clientside''
''Clientside''
''Serverside''
''Serverside''

Revision as of 18:18, 26 April 2010

Clientside Serverside

Description

Used to disable the 's' and 'd' keys for using the sword and npc weapons.

example:

function onCreated()
{
  disableweapons();
}