hey everyone i need major help with a code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
homegrown4201
Forum Newbie
Posts: 2
Joined: Tue Jun 17, 2003 4:09 pm

hey everyone i need major help with a code

Post by homegrown4201 »

ok i've been trying to figure this out and cant seem to do it i need a code for mudd...one for a a player moves to a screen and randomly triggers a trap any and all help is very much appreciated, thanks
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

what??????
Drachlen
Forum Contributor
Posts: 153
Joined: Fri Apr 25, 2003 1:16 am

Post by Drachlen »

I suggest you thuroughly read all the stickies to get some information. Even though i dont know how to write the code you want, im sure its complicated, and i doubt anyone will do it for free if you dont give some of your attempts, and errors. If you are just starting with php, start smaller, and find some tutorials. http://www.php.net is a nice place for help on basically anything and its what ive been using. Good luck!
homegrown4201
Forum Newbie
Posts: 2
Joined: Tue Jun 17, 2003 4:09 pm

Post by homegrown4201 »

confused ya eh? i need a code so that when a player enters a room it randomly triggers a trap ....like randomly as in 4 guys go in nothing happens 5 guy goes in triggers trap type deal
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

this is not a "Make some code for me" try to figure it out.. and make some code yourself... if you have some problem you can post it here.

good luck
User avatar
discobean
Forum Commoner
Posts: 49
Joined: Sun May 18, 2003 9:06 pm
Location: Sydney, Australia
Contact:

Post by discobean »

ahh I understand!

Code: Select all

<?php
echo "Hello world.. you are trapped!";
?>
try that :-D
Post Reply