Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / help in making a code for selecting and loading a player

Author
Message
phukol
20
Years of Service
User Offline
Joined: 22nd Nov 2003
Location:
Posted: 17th May 2004 19:56
hi there. Juzt wana ask ur help because i can't get my character to load after i selected them in my menu.
here's the code:

please help me!!!

phukol
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 18th May 2004 01:13 Edited at: 18th May 2004 01:13
Multiple errors...

play=2 is missing in function main_menu() and even though you return the value you do not use it. 'play'is local to the function not the main loop. So, in your load routine play = 0 and nothing gets loaded for it.
--
TAZ

phukol
20
Years of Service
User Offline
Joined: 22nd Nov 2003
Location:
Posted: 18th May 2004 12:57
thnx zircher. i'm a pretty stupid programmer. it's working now what i did was use a function(play) so that play is loaded in my game.. thnx zircher!!!!

phukol

Login to post a reply

Server time is: 2024-09-22 09:40:08
Your offset time is: 2024-09-22 09:40:08