compound statement not closed at the end of file (started at line __))
#1

Hello i was wondering why this error is appearing
The Script is

Quote:





public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new model = GetVehicleModel( vehicleid );
if (model == 400)
{
GameTextForPlayer(playerid,"~w~Landstalker",3000,1 );
}
if (model == 401)
{
GameTextForPlayer(playerid,"~w~Bravura",3000,1);
}
if (model == 402)
{
GameTextForPlayer(playerid,"~w~Buffalo",3000,1);
}
if (model == 403)
{
GameTextForPlayer(playerid,"~w~Linerunner",3000,1) ;
}
if (model == 404)
{
GameTextForPlayer(playerid,"~w~Perenniel",3000,1);
}
if (model == 405)
{
GameTextForPlayer(playerid,"~w~Sentinel",3000,1);
}
if (model == 406)
{
GameTextForPlayer(playerid,"~w~Dumper",3000,1);
}
if (model == 407)
{
GameTextForPlayer(playerid,"~w~Firetruck",3000,1);
}
if (model == 40
{
GameTextForPlayer(playerid,"~w~Trashmaster",3000,1 );
}
if (model == 409)
{
GameTextForPlayer(playerid,"~w~Stretch",3000,1);
}
if (model == 410)
{
GameTextForPlayer(playerid,"~w~Manana",3000,1);
}
if (model == 411)
{
GameTextForPlayer(playerid,"~w~Infernus",3000,1);
}
if (model == 412)
{
GameTextForPlayer(playerid,"~w~Voodoo",3000,1);
}
if (model == 413)
{
GameTextForPlayer(playerid,"~w~Pony",3000,1);
}
if (model == 414)
{
GameTextForPlayer(playerid,"~w~Mule",3000,1);
}
if (model == 415)
{
GameTextForPlayer(playerid,"~w~Cheetah",3000,1);
}
if (model == 416)
{
GameTextForPlayer(playerid,"~w~Ambulance",3000,1);
}
if (model == 417)
{
GameTextForPlayer(playerid,"~w~Leviathan",3000,1);
}
if (model == 41
{
GameTextForPlayer(playerid,"~w~Moonbeam",3000,1);
}
Error
Quote:

error 030: compound statement not closed at the end of file (started at line 4513)

Reply


Messages In This Thread
compound statement not closed at the end of file (started at line __)) - by Mr.Faqahat - 04.09.2012, 19:03
Re: compound statement not closed at the end of file (started at line __)) - by MarkoN - 04.09.2012, 19:07
Re: compound statement not closed at the end of file (started at line __)) - by Mr.Faqahat - 04.09.2012, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)