Blockland Forums > Modification Help
Nothing happens when exec. Add-on
<< < (2/2)
otto-san:

--- Quote from: Headcrab Zombie on January 15, 2011, 11:24:19 PM ---
--- Code: ---function Servercmdbounce(%client)
{
%Client.Player.AddVelocity("0 0 25");
}
--- End code ---

--- End quote ---
e

AddVelocity arguments always confused me.  :cookieMonster:
phflack:
same...
Bauklotz:

--- Code: ---function serverCmdBounce(%cl) {
    if(isObject(%pl = %cl.player))
        %pl.addVelocity("0 0 25");
}

--- End code ---
Navigation
Message Index
Previous page

Go to full version