» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 72
0 members and 72 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on error within the Nuke 7.x - Modules forums, part of the PHP-Nuke 7.x category; i get this error when i made a module for aiming tips in a game Code: Parse error: parse ...


Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - Modules

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2005, 10:14 PM
Junior Member
 
Join Date: Feb 2005
Posts: 24
error
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-18-2005, 10:26 PM
coldblooded's Avatar
Super Moderator
 
Join Date: Jan 2002
Location: USA
Posts: 618
Try this.

http://www.nukemods.com/modules.php?...ex&func=Module
__________________
The more we learn... the more we realize how little we actually know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-18-2005, 10:42 PM
Junior Member
 
Join Date: Feb 2005
Posts: 24
thats what i used...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-18-2005, 11:56 PM
coldblooded's Avatar
Super Moderator
 
Join Date: Jan 2002
Location: USA
Posts: 618
I tested your code and it works fine for me.

1) Paste your code in the creator
2) Hit Create
3) Copy the results into an empty index.php
4) Create a folder named whatever you want the module called in your modules folder
5) Put the index.php you created in there
__________________
The more we learn... the more we realize how little we actually know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-19-2005, 04:58 PM
Junior Member
 
Join Date: Feb 2005
Posts: 24
again!!
omg i got that one to work when i tried (made me feel stupid)

but now its doing it with this page im trying to make
Code:
<center>Here is a list of all the members as of 3/19/05</center>




>>--F.F-->JaY                             leader

>>--F.F-->toputs	             leader


>>--F.F-->Jamppa                      co-leader

>>--F.F-->$hockwav3                 co-leader


>>--F.F-->_Haxor_<--F.F--<<     officer 1st class

>>--F.F-->JaWs *                        officer 1st class

>>--F.F-->*EL*-*BaRtO*              officer 1st class


>>--F.F-->Chris                           private

>>--F.F-->-=]DTX[=-                    private

>>--F.F-->Teemu                         private

>>--F.F-->Fawad                         private

>>--F.F-->-=-Sn4k3 Eyes-=-        novice

>>--F.F-->The rage                      novice

>>--F.F-->PimpGansta                novice (webmaster)
why does it keep doing this damnit :evil:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error SQL Error : 1064 theme iCGstation XelAleX Nuke 7.x - Themes 0 03-21-2005 06:17 PM
error: phpBB critical error elb0m Purged Topics 15 01-24-2003 03:41 PM


All times are GMT -5. The time now is 07:40 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31