Raised This Month: $ Target: $400
 0% 

Would need some help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
broertje
Senior Member
Join Date: Mar 2005
Old 10-19-2005 , 10:12  
Reply With Quote #1

Strange,going to test it out...
broertje is offline
broertje
Senior Member
Join Date: Mar 2005
Old 10-19-2005 , 10:14  
Reply With Quote #2

Yes,going to fix it,i know what the problem is,you need a require money thing or something
broertje is offline
broertje
Senior Member
Join Date: Mar 2005
Old 10-19-2005 , 10:17  
Reply With Quote #3

Can't Find It,Whats Code To Require Money Before You Can Buy Something?
broertje is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 10-19-2005 , 10:17  
Reply With Quote #4

no you need this.

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
broertje
Senior Member
Join Date: Mar 2005
Old 10-19-2005 , 10:18  
Reply With Quote #5

I Have This Already
broertje is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 10-19-2005 , 10:24  
Reply With Quote #6

get_user_money before you set_user_money
__________________
atomic is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 10-19-2005 , 10:27  
Reply With Quote #7

... and check if the user got enough...

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
broertje
Senior Member
Join Date: Mar 2005
Old 10-19-2005 , 10:28  
Reply With Quote #8

oooooh
broertje is offline
broertje
Senior Member
Join Date: Mar 2005
Old 10-19-2005 , 10:31  
Reply With Quote #9

is it then like this?
Code:
 cs_get_user_money(id)             set_user_armor(id,(get_user_armor(id)+10))             cs_set_user_money(id,(cs_get_user_money(id)-100),1)
If I Do This It Says Losing Indentation On Line ...,that line is set_user_armor(id,(get_user_armor(id)+10))
broertje is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 10-19-2005 , 10:34  
Reply With Quote #10

of course t does... try ths:
Code:
 if(cs_get_user_money(id) > 100){             set_user_armor(id,(get_user_armor(id)+10))             cs_set_user_money(id,(cs_get_user_money(id)-100),1)             }

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
Reply



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

Forum Jump


All times are GMT -4. The time now is 23:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode