Damn errors!
#1

Код:
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(28299) : warning 219: local variable "cash" shadows a variable at a preceding level
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(28314) : warning 219: local variable "cash" shadows a variable at a preceding level
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(34329) : warning 219: local variable "cash" shadows a variable at a preceding level
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(34332) : warning 219: local variable "stringa" shadows a variable at a preceding level
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36013) : warning 217: loose indentation
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36013) : error 054: unmatched closing brace ("}")
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36015) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36016) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36018) : error 021: symbol already defined: "strmid"
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36020) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36026) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36032) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36041) : error 021: symbol already defined: "SavePlayer"
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36042) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36044) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36046) : error 021: symbol already defined: "format"
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36048) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36050) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36708) : warning 209: function "securekick" should return a value
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36709) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36710) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36714) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36716) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36718) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36721) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36723) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36829) : warning 209: function "unsecure" should return a value
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36830) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36831) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36835) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36837) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36839) : error 010: invalid function or declaration
C:\Users\westgеrd\Desktop\New NGP Server Files\gamemodes\SATDM~RP.pwn(36842) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
I tried change Vehicle Slots in the gamemode SATDM~RP v9 by MoNeYPiMp, and got this erros.
I think its something wrong with this lines:

Код:
	if((PlayerInfo[playerid][vowner] == 1) && (PlayerInfo[playerid][vowner2] == 1) && (PlayerInfo[playerid][vowner3] == 1)) {
			SendClientMessage(playerid, COLOR_BRIGHTRED, "You can only own THREE vehicles at a time! You must sell one other vehicle first!");
			return 1;
  }
 }
Please help me and try find out the error. Im almost 100 % sure its something wrong on the lines above.

EDIT:
I just found out that it also can be this line too or maybe only this line:

Код:
	if((PlayerInfo[playerid][vowner] == 0) && (PlayerInfo[playerid][vowner2] == 0) && (PlayerInfo[playerid][vowner3] == 0)) {
			SendClientMessage(playerid, COLOR_BRIGHTRED, "You must first own a vehicle before you can use this feature!");
			return 1;
		}
	}
Reply
#2

I solved the problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)