The Dink Network

Reply to Another problem

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
September 9th 2009, 03:00 PM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
Another problem! (I'm sure I'm starting to get you guys on the nervs, sorry)
When i talk to this guy, select "The major sent me" and then "8" He say it's wrong and kill me, isn't that weird? Also, if i select "spying" at first selection nothing happens. Here's the script:

void main(void)
{
int &pass;
&pass = 0;
}

void talk(void)
{
If (&pass == 0)
{
freeze(1);
say_stop("`5HEY! What are you doing here?!", &current_sprite);
choice_start();
set_y 240
set_title_color 1
title_start();
"What are you doing here?"
title_end();
"The major sent me"
"Spying"
choice_end();
If (&result == 1)
{
say_stop("`5Oh really? Tell me the password then!", &current_sprite);
choice_start();
set_title_color 1
title_start();
"Password"
title_end();
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"10"
"11"
"12"
"13"
"14"
"15"
"16"
"17"
"18"
"19"
"20"
choice_end();
If (result == 8)
{
say_stop("`5Oh you know the password!",&current_sprite);
say_stop("`5Then the major really sent you!", &current_sprite);
wait(200);
say_stop("Of course he did!*cough*", 1);
say_stop("Now, let me in!", 1);
wait(200);
say_stop("Ok.", &current_sprite);
sp_hard(&block, 1);
draw_hard_map();
&pass = 1;
unfreeze(1);
}
else
{
say_stop("`5That's wrong, I have to kill you.", &current_sprite);
unfreeze(1);
&life = 0;
}
If (&result == 2)
{
say_stop("I'm spying on you.",1);
wait(200);
say_stop("`5Oh I see, then i have to kill you.", &current_sprite);
unfreeze(1);
&life = 0;
}
}
}