Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

[Java Script] Why is my script not working?

$
0
0
Well, I am trying to make a small zombie shooter game, however my shoot script doesn't seem to work.. var randomnumber = Math.floor(Math.random() *11); Errors: Assets/ASA/ASA - Scripts/ASA - Scripts - Player/Pistol.js(6,20): BCE0005: Unknown identifier: 'Math'. Assets/ASA/ASA - Scripts/ASA - Scripts - Player/Pistol.js(6,31): BCE0005: Unknown identifier: 'Math'.

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>