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 / The original tutorial FPS in the help file is not working.

Author
Message
Random color object
16
Years of Service
User Offline
Joined: 14th Aug 2008
Location: Montreal Canada
Posted: 20th Aug 2008 06:27
Here is the code can someone help me to fix it


My actual color is Color object 1, RGB(128,2,3) but I would like it to be random.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Aug 2008 16:06
Not sure why you have problems, but it seems you have errors in the code that aren't in the original. For example, missing "<" symbols at lines 182/183. I can't match it to the exact example, are you looking in the help\tutorials folder?

When I compile tutorial 9 (Adding Polish) it's all fine. Code I have below.



Random color object
16
Years of Service
User Offline
Joined: 14th Aug 2008
Location: Montreal Canada
Posted: 25th Aug 2008 23:57
receive message error
Runtime Error 7151 - Could not load BSP file at line 266
Here is the line



My actual color is Color object 1, RGB(128,2,3) but I would like it to be random.

Login to post a reply

Server time is: 2024-09-27 20:22:44
Your offset time is: 2024-09-27 20:22:44