This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch (weaponid) { | |
// The spas shotguns shoot 8 bullets, each inflicting 4.95 damage | |
case WEAPON_SHOTGSPA: { | |
bullets = amount / 4.950000286102294921875; | |
if (8.0 - bullets < -0.05) { | |
return WC_INVALID_DAMAGE; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <a_samp> | |
// Enclose statement | |
#define ENC: \ | |
(_:E1:E2:E3:E4:E5:E6:E7:E8:E9:E10:E11:E12:E13:E14:E15:E16:E17:E18:0, | |
#define ENC_END: \ | |
) | |
#define E1:E2:E3:E4:E5:E6:E7:E8:E9:E10:E11:E12:E13:E14:E15:E16:E17:E18:0,%1\32;%2 ENC_2:%1 ENC_END: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Put inside dotspacemacs/user-config | |
(defun set-tab-width (n) | |
(dolist (var '(evil-shift-width | |
default-tab-width | |
tab-width | |
c-basic-offset | |
cmake-tab-width | |
coffee-tab-width | |
cperl-indent-level |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package react | |
import scala.annotation.implicitNotFound | |
import scala.util.NotGiven | |
object Domain { | |
sealed trait Observable[T] { | |
def observe(op: => T): Unit | |
} | |
} |
OlderNewer