i get this error when i made a module for aiming tips in a game
Code:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/www/site/PHP-Nuke-7.5/html/modules/AimingTips/index.php on line 57
and this is what i have in the module, i know that im supposed to not have no commas but i need them or the page wont make sense.. so is there a way to keep them and the module still work?
Code:
<center>
In this section im going to give you a few tips on how to improve you accuracy</center>
First we are going to start off with your corsshair..
To aim better your goign to need a crosshair that is actually easy to see, so we have to change the color
1) Open console
2)Type cg_crosshairRGBA "X,X,X,X"
3)cg_crosshairFriendRGBA "X,X,X,X"
Replace the X's with the color you want
Yellow - 1,1,0,1
Green - 0,1,0,1
Blue - 0,0,1,1
White - 1,1,1,1
Black - 0,0,0,1
Gold - 1, 0.8, 0, 1
Sky Blue - 0,1,1,1
Red - 1,0,0,1
Pink - 1,0,1,1
Orange 1, 0.4, 0, 1
Tan - 1, 1, 0.8, 1
Next, Your going to want stop your crosshair from moving up and down while you move...
1)Open Console
2) Type in the following commands
seta cg_bobup "0"
seta cg_bobpitch "0"
seta cg_bobroll "0"
seta cg_runpitch "0"
seta cg_runroll "0"
Now, you have to make you crosshair smaller...
1) Open Console
2) Type in the following
cg_crosshairsize 20
And last but not least...
1) In yout options pikc the crosshair that is a small dot.
It will seems ackward shooting with a dot but once you get use to it, you'll get headshots like crazy.