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 / My Fireing code still doesnt work

Author
Message
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 26th May 2004 06:45
Does anyone know what im doing wrong? Cause I sure dont.


IF your rolling along the ocean in you jet ski and the wheels fall off. Do you still have enough pancakes to cover a doghouse?

Purple, because icecream has no bones.
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 26th May 2004 17:23 Edited at: 26th May 2004 17:24
You don't have any code to do the actual fireing... the "fire_stuff" function does absolutely nothing.

function fire_stuff()
if scancode()= 57
endif
endfunction

You could try something like...



Well... I hope I helped...

Previously known as "Game_Creator".
The question is, why am I talking to myself? ...... And more importantly, why am I waiting for a reply?
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 26th May 2004 22:37
he he oops.
i copy pasted from the wrong window
Heres the real code.



IF your rolling along the ocean in you jet ski and the wheels fall off. Do you still have enough pancakes to cover a doghouse?

Purple, because icecream has no bones.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 26th May 2004 23:23 Edited at: 26th May 2004 23:33
[edit] Never mind i'll take a closer look when i get home. But while i'm here .... I don't use User defined types much because I have heard of saving bugs and function bugs with them, but should't all the UDT's you have be either pin.? instead of in.?



"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 27th May 2004 01:53
no no
you see here

I declared in as type pin

IF your rolling along the ocean in you jet ski and the wheels fall off. Do you still have enough pancakes to cover a doghouse?

Purple, because icecream has no bones.

Login to post a reply

Server time is: 2024-11-11 14:20:12
Your offset time is: 2024-11-11 14:20:12