Errors || Nothings wrong though?|?|
#1

So.. i get a list of errors...

Код:
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6090) : error 055: start of function body without function header
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6090) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6096) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6110) : error 021: symbol already defined: "SetTimer"
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6115) : error 021: symbol already defined: "DisableInteriorEnterExits"
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6131) : error 021: symbol already defined: "CreateObject"
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6287) : error 021: symbol already defined: "CreatePickup"
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6308) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6315) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6320) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6324) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6328) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6335) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6375) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6382) : error 010: invalid function or declaration
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(6389) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Luke\Desktop\CODING\SCRIPT\gamemodes\SBRP.pwn(7834) : error 021: symbol already defined: "S@@_OnDialogResponse"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


17 Errors.
All i did was made a House System yet its effecting everything else? Ask too see a line because im not listing every line unless its needed.
Reply
#2

Show those lines.

Also try to update the streamer plugin. ( There might be problem with includes. )
Reply
#3

Quote:
Originally Posted by SoFahim
Посмотреть сообщение
Show those lines.

Also try to update the streamer plugin. ( There might be problem with includes. )
includes are fine.. which lines? theres too many too list.
Reply
#4

Код:
start of function body without function header
Nearly always caused by an extra semicolon after the function header.
Reply
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
Код:
start of function body without function header
Nearly always caused by an extra semicolon after the function header.
It all looks fine?
Reply
#6

Put some lines, so we can help you.
Reply
#7

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
Put some lines, so we can help you.
LINE 6110:
Код:
	SetTimer("settime",1000,true);
LINE 6115:
Код:
    DisableInteriorEnterExits();
LINE 6131:
Код:
	CreateObject(1223, 621.70001220703, -1443.6999511719, 13.300000190735, 0, 0, 356);
Reply
#8

When fixing errors always start at the top. So 6090, please? Also a few lines before and a few lines after.
Reply
#9

Quote:
Originally Posted by Vince
Посмотреть сообщение
When fixing errors always start at the top. So 6090, please? Also a few lines before and a few lines after.
Код:
{	for(new i = 0; i < sizeof(CreatedCars); i++)
	{
		CreatedCars[i] = INVALID_VEHICLE_ID;
	}
this only broke when i made my house system.
Reply
#10

Quote:
Originally Posted by BarFix
Посмотреть сообщение
Код:
{	for(new i = 0; i < sizeof(CreatedCars); i++)
	{
		CreatedCars[i] = INVALID_VEHICLE_ID;
	}
this only broke when i made my house system.
Its most likely a missing semicolon or a missing bracket..

If you can't find it then provide more code.... Possibly just provide the whole house system you coded.. If you ain't sure what's wrong.
No one can help you like that.

If you are afraid of someone seeing your code, Then why did you post for help in the first place.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)