Really need help
#1

Hey guys. I was adding V-Admin script to my gamemode. It costed sometime. No the only problem is:
I get errors when I try to add the commands from my gamemode to my v-admin script.
Can someone please add them to it? It is important for me.

this are the errors I get when I try to put them in:
Код:
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1567) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(4153) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "PlayerToPoint"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "armyenter"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "hunterlinks"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "hunterrechts"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6567) : warning 204: symbol is assigned a value that is never used: "lspdgate"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570) : warning 204: symbol is assigned a value that is never used: "lspdlift"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "pd2gate"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "pd2lift"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "uaharborenter"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "uaharborlift"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "ualift"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      4876 bytes
Code size:      280712 bytes
Data size:      778240 bytes
Stack/heap size:   16384 bytes; estimated max. usage=6272 cells (25088 bytes)
Total requirements: 1080212 bytes

13 Warnings
Reply
#2

Delete OnPlayerPrivmsg, OnPlayerInfoChange, PlayerToPoint, armyenter, hunterlinks etc.
Reply
#3

Quote:
Originally Posted by bartje01

Код:
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1567) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(4153) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "PlayerToPoint"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "armyenter"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "hunterlinks"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(7016) : warning 203: symbol is never used: "hunterrechts"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6567) : warning 204: symbol is assigned a value that is never used: "lspdgate"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570) : warning 204: symbol is assigned a value that is never used: "lspdlift"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "pd2gate"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "pd2lift"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "uaharborenter"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "uaharborlift"
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(6570 -- 7016) : warning 203: symbol is never used: "ualift"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
look for each word and delete em

i just saw and all should be deleted because ur not using them
Reply
#4

Well, I am using them. But that are the wrong warnings. wait. When I add the commands I get this;
Код:
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1189) : error 004: function "ini_GetKey" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1189) : error 033: array must be indexed (variable "keytmp")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1192) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1192) : error 033: array must be indexed (variable "valtmp")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1198) : error 004: function "ini_GetKey" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1198) : error 033: array must be indexed (variable "key")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1199) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1199) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1200) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1200) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1201) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1201) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1202) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1202) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1203) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1203) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1204) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1204) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1205) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1205) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1206) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1206) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1207) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1207) : error 033: array must be indexed (variable "val")
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1208) : error 004: function "ini_GetValue" is not implemented
C:\Users\Bart\Desktop\samp server\filterscripts\dtsscriptplusadmin.pwn(1208) : error 033: array must be indexed (variable "val")

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


26 Errors.
Reply
#5

check the includes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)