Scripting/Squirrel/Functions/Player.Disarm: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<source lang=squirrel> | |||
if ( cmd == "disarm" ) | if ( cmd == "disarm" ) | ||
{ | { | ||
PrivMessage( player, "You've been disarmed"); | PrivMessage( player, "You've been disarmed"); | ||
player.Disarm(); | player.Disarm(); | ||
} | } | ||
</source> |
Revision as of 12:58, 26 July 2014
if ( cmd == "disarm" )
{
PrivMessage( player, "You've been disarmed");
player.Disarm();
}