count and random cash prob

Started by Spider, Nov 22, 2015, 10:23 AM

Previous topic - Next topic

Spider

i want to change robbing money to random cash and i  want to change the for robbing.the example Count1
Iam Spidey i forgot my pass

KAKAN

Try to make one.
if u got error/s post here( obviously you'll get 1 error( at least )  )
oh no

Spider

iam getting erorr in count
when i set Count4 it freeze me
Iam Spidey i forgot my pass

KAKAN

oh no

Spider

NewTimer( "Count1", 100009, 1, 10, player.ID );
Iam Spidey i forgot my pass

Xmair

HAHAHAHAHAHAHAHAHAHAHAHHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA fuck you

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

KAKAN

Quote from: Spider on Nov 22, 2015, 03:46 PMNewTimer( "Count1", 100009, 1, 10, player.ID );
Why are you giving that "10" thing?
Use this:-
local spideyfux0r = player.ID
NewTimer("Count1",10000,1,spideyfux0r);
oh no

Thijn

Quote from: KAKAN on Nov 22, 2015, 05:44 PM
Quote from: Spider on Nov 22, 2015, 03:46 PMNewTimer( "Count1", 100009, 1, 10, player.ID );
Why are you giving that "10" thing?
Use this:-
local spideyfux0r = player.ID
NewTimer("Count1",10000,1,spideyfux0r);
Because he wants his timer to run 10 times?

KAKAN

Quote from: Thijn on Nov 22, 2015, 09:06 PM
Quote from: KAKAN on Nov 22, 2015, 05:44 PM
Quote from: Spider on Nov 22, 2015, 03:46 PMNewTimer( "Count1", 100009, 1, 10, player.ID );
Why are you giving that "10" thing?
Use this:-
local spideyfux0r = player.ID
NewTimer("Count1",10000,1,spideyfux0r);
Because he wants his timer to run 10 times?
Then why did he gave "1" in the repeat thing?
oh no

MacTavish

#9
This is countdown from old leaked vccnr(perhaps) because that had countdown like this
NewTimer( "Count1", 1000, 1, 10, player.ID );
NewTimer( "Count1", 2000, 1, 9, player.ID );
NewTimer( "Count1", 3000, 1, 8, player.ID );
NewTimer( "Count1", 4000, 1, 7, player.ID );
NewTimer( "Count1", 5000, 1, 6, player.ID );
NewTimer( "Count1", 6000, 1, 5, player.ID );
NewTimer( "Count1", 7000, 1, 4, player.ID );
NewTimer( "Count1", 8000, 1, 3, player.ID );
NewTimer( "Count1", 9000, 1, 2, player.ID );
NewTimer( "Count1", 10000, 1, 1, player.ID );

function Count1(text, plr)
{
local player = FindPlayer(plr);
Announce("time left :"+text,player);
}

Now hope you guys understood

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Spider

and i should post this announce in the bottom of main.nut.right?
Iam Spidey i forgot my pass

Xmair

As @Doom said, please don't help @Spidey/@Spider as he don't even know a single word of squirrel scripting. Leave him like that till he learns something.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

KAKAN

Quote from: Kusanagi on Nov 23, 2015, 09:33 AMThis is countdown from old leaked vccnr(perhaps) because that had countdown like this
<snip>
Now hope you guys understood

That code won't even work because the announce thing needs  a string instead of a int, so make sure you use .tostring() or you make it a string in the timer.

Quote from: Xmair on Nov 23, 2015, 11:38 AMAs @Doom said, please don't help @Spidey/@Spider as he don't even know a single word of squirrel scripting. Leave him like that till he learns something.
That was for some days, the section was made for helping peoples, so why we shouldn't?
@Doom please don't laugh again. :/
oh no

DizzasTeR

Quote from: KAKAN on Nov 23, 2015, 01:37 PMThat was for some days, the section was made for helping peoples, so why we shouldn't?
@Doom_Kill3R please don't laugh again. :/

Hahahaha.

Spider

Iam Spidey i forgot my pass