Thread
:
What happened to player.dir?
View Single Post
#
5
03-17-2008, 11:30 PM
coreys
N-Pulse Assistant Manager
Join Date: Mar 2005
Posts: 2,180
Quote:
Originally Posted by
[email protected]
Nothing.
PHP Code:
//#CLIENTSIDE
function
onWeaponFired
()
{
$random
=
int
(
random
(
0
,
4
));
player
.
dir
=
$random
;
}
Probably because "$" isn't a valid character for variable identifiers.
__________________
Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
coreys
View Public Profile
View GraalOnline Profile
Find all posts by coreys