16.07.2013, 10:52
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 :
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:
Changed to :
Possibly i added more } to } } so the code wont lose indention, can it be the reason for 26Errors?
Please help
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.
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)
Код:
} return 1; } } if (strcmp(cmd, "/deletedrivethru", true) == 0)
Please help