26 Errors | 004 | 017 Error's
#1

Hi, I've been working on some commands in a script and when i finished them the compiler crashed.
So I found how fix those problems. but then In game some commands worked and some just didn't show anything. Then i tried to fix this problem by taking the first command that doesn't works (though it bugs the command behind it) so put it over the end of
OnPlayerCommandText, then i got this :
Код:
(5088) : warning 219: local variable "sendername" shadows a variable at a preceding level
(8644) : error 004: function "FixHour" is not implemented
(11412) : error 017: undefined symbol "sendername"
(11413) : error 017: undefined symbol "SendNearbyMessage"
(11418) : error 017: undefined symbol "StopAudioEx"
(11445) : error 017: undefined symbol "PlayAudioEx"
(11470) : error 017: undefined symbol "PlayAudioEx"
(11606) : error 017: undefined symbol "PlayAudioEx"
(11631) : error 017: undefined symbol "PlayAudioEx"
(11656) : error 017: undefined symbol "PlayAudioEx"
(11682) : error 017: undefined symbol "PlayAudioEx"
(13150) : error 004: function "ProxDetector" is not implemented
(14445) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14465) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14489) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14511) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14533) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14544) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14552) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14560) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14568) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14577) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(14585) : error 004: function "SafeRemovePlayerFromVehicle" is not implemented
(15363) : warning 219: local variable "sendername" shadows a variable at a preceding level
(15371) : error 004: function "ProxDetector" is not implemented
(15443) : error 004: function "ProxDetector" is not implemented
(16743) : warning 219: local variable "sendername" shadows a variable at a preceding level
(16749) : error 004: function "ProxDetector" is not implemented
(16762) : error 004: function "ProxDetector" is not implemented

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

26 Errors.
I've searched on the internet for a solution on those 26 Errors and most common thing was missing Barackets.

Now i really dont try to be rude but i'm sure there are no missing barackets, although i tried to indent my script and added some } For Eample:
Код:
		}
		return 1;
	}
if (strcmp(cmd, "/deletedrivethru", true) == 0)
Changed to :
Код:
		}
		return 1;
	}
}
if (strcmp(cmd, "/deletedrivethru", true) == 0)
Possibly i added more } to } } so the code wont lose indention, can it be the reason for 26Errors?
Please help
Reply
#2

Indent your code: http://codegenerators.pl/indent

If you have more or less brackets, you can find it out.

Plus those errors have been answered millions times, a search on the forums will make you able to fix them!
Reply
#3

Have you forwarded your functions for example you neet to do like that:-
pawn Код:
forward SafeRemovePlayerFromVehicle
public SafeRemovePlayerFromVehicle(playerid)
without making it public function you will get error if problem not resolve then post your script code
Reply
#4

Quote:
Originally Posted by _Zeus
Посмотреть сообщение
Indent your code: http://codegenerators.pl/indent

If you have more or less brackets, you can find it out.

Plus those errors have been answered millions times, a search on the forums will make you able to fix them!
I've searched on the forum, and tried find brackets with program's, And couldn't fix it
There 107,154 Lines, it takes so much time to this site indent the code, i guess i will have to do it by night..
Thanks anyways..
Reply
#5

Nvm, soloved the problem
Thanks anyways for fast replays and help !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)