Collum problem

Started by Spidey, Aug 21, 2015, 10:25 AM

Previous topic - Next topic

Spidey

just i said } is problem
gta vc and san are my favourite games

Thijn

Yes you said that. Great you found the problem, now fix it.

KAKAN

Now delte that symbol } and then your script will work properly
oh no

Thijn

Quote from: KAKAN on Aug 23, 2015, 12:53 PMNow delte that symbol } and then your script will work properly
Lol, no.
It's not the last bracket that's the problem, like I have explained numerous times.

KAKAN

oh no

.

.

FinchDon

it is problem in his main.nut any error and its showing last line that is ...
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

Spidey

yes u are right finch you are genius thijin now u understand?
gta vc and san are my favourite games

Spidey

the problem is in last line
gta vc and san are my favourite games

DizzasTeR

#24
For the love of your error, the error is not on last line the error is anywhere or somewhere in your whole script! Which means if you did any mistake by not closing a bracket, adding useless brackets or stuff like that, the script breaks and ends up with a error on the last line. Check this example:
function onPlayerJoin( player )
{
{//EXTRA BRACKET

}

or

function onPlayerPart( player )
{

}// EXTRA BRACKET
}

Spidey

i checked and there is no extra bracket
gta vc and san are my favourite games

Thijn

Then we're unable to help you, sorry.

Spidey

any vccnr main nut for me
gta vc and san are my favourite games

MacTavish

Here it is

/* This is vccnr main.nut file code*/

function onScriptLoad()
{
print("vccnr main.nut loaded successfully");
}

function onPlayerJoin(player)
{
Message(player.Name+" Joined Vccnr");
}

function onPlayerPart(player, reason)
{
Message(player.Name+" left Vccnr");
}

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

Retired VC:MP Player/Scripter :P

MatheuS

Quote from: Kusanagi on Aug 24, 2015, 08:11 PMHere it is

/* This is vccnr main.nut file code*/

function onScriptLoad()
{
print("vccnr main.nut loaded successfully");
}

function onPlayerJoin(player)
{
Message(player.Name+" Joined Vccnr");
}

function onPlayerPart(player, reason)
{
Message(player.Name+" left Vccnr");
}

if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.