|
|
|
3 registered members (JimSimons, Volkovstudio, 1 invisible),
17,565
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
why i cannot run this code ?!?!
#183881
02/14/08 15:55
02/14/08 15:55
|
Joined: Jul 2007
Posts: 69
fat32
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2007
Posts: 69
|
hi . why i cannot run this code ?!?! Read only video_mode
#include <acknex.h> #include <default.c>
function main() { video_mode = 6; // create a program window of 640x480 pixels vec_set(screen_color, vector(255, 100, 100)); // make the background color blue }
dobidob hosein_dig and max_man7000 game HAPPY NEW YEAR !!
|
|
|
Re: why i cannot run this code ?!?!
[Re: fat32]
#183882
02/14/08 16:13
02/14/08 16:13
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
works on my site perfect. What error/problem do you get?
|
|
|
Re: why i cannot run this code ?!?!
[Re: fat32]
#183883
02/14/08 16:19
02/14/08 16:19
|
Joined: Oct 2003
Posts: 702
zazang
User
|
User
Joined: Oct 2003
Posts: 702
|
I'm not sure but I think you cant set video_mode directly like this. Maybe u have to use video_switch or video_set.
I like good 'views' because they have no 'strings' attached..
|
|
|
Re: why i cannot run this code ?!?!
[Re: zazang]
#183884
02/14/08 18:18
02/14/08 18:18
|
Joined: Jul 2007
Posts: 69
fat32
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2007
Posts: 69
|
this is a example lite c code of aum 68 or 69 . please use a example of lite c for me
all code is there and no more.and my problem Read only video_mode
thanks
dobidob hosein_dig and max_man7000 game HAPPY NEW YEAR !!
|
|
|
Re: why i cannot run this code ?!?!
[Re: D3D]
#183886
02/14/08 22:07
02/14/08 22:07
|
Joined: Jul 2007
Posts: 69
fat32
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2007
Posts: 69
|
i want test lite c script
thanks all
dobidob hosein_dig and max_man7000 game HAPPY NEW YEAR !!
|
|
|
Re: why i cannot run this code ?!?!
[Re: dinosaur]
#183888
02/15/08 11:02
02/15/08 11:02
|
Joined: Jul 2007
Posts: 69
fat32
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2007
Posts: 69
|
Quote:
Hi fat32,
you should save your script with .c extension.
if you save it as .wdl it will not work.
regards dinosaur
thanks i test that
dobidob hosein_dig and max_man7000 game HAPPY NEW YEAR !!
|
|
|
Re: why i cannot run this code ?!?!
[Re: fat32]
#183889
02/15/08 11:09
02/15/08 11:09
|
Joined: Jul 2007
Posts: 69
fat32
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2007
Posts: 69
|
thanks dinosaur you solution my problem
dobidob hosein_dig and max_man7000 game HAPPY NEW YEAR !!
|
|
|
|
|
|
|