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…')
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Scripting Reference]]
''Clientside''
''Clientside''
''Serverside''
''Serverside''

Latest revision as of 17:33, 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();
}