Coding question?


Posted on 16th Feb 2014 07:03 pm by admin

Hey guys, I have a quick question. If I want to make a way for people to pay for health in my game, how would I go about coding that? Would be like this?

Code: ($purchace = 1000000) == ($health+1)
Would it be something like that?

No comments posted yet

Your Answer:

Login to answer
320 Like 17 Dislike
Previous forums Next forums
Other forums

extending tidy
I have problem with type-hinting and extending tidy. This code creates error:
Code: class cMyTidy

mail with attachment problems
Hi. I have the following code:
Code: else if(file_exists("site".$timp.".zip")

rdns with php
I am trying to build a script that will show all of the different domains that are hosted on the sam

highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm

Floating Point Precision Loss
I'm writing a program to draw a three-dimensional cube (with a corner cut off) without using any 3D

private constructor
Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can'

PHP Blog help
Need help with posting comments in a word press blog? I have a comments page where the comments are

Help If user voted, block them
On my Prayer request site, i let users Click a button to Pray for somone that has posted a pray, i g

PHP error on MySQL insert
I'm sure it's the simplest of issues, but I can't recall why this isn't working.

Code: [Selec

Syntax error
hi im having a little trobble with this script
-------------------------------------------------

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash