| 1. MTA i sprawdzanie błędów w skryptach? |
| Jak si? sprawdza?o b??dy skryptu w MTA? Dawniej wystarczy?o ?e w konsoli wpisa?em chyba debugscript 3 ale co? teraz nie dzia?a ta funkcja. Pisz? ?e nie jest za?adowany. |
| 2. [INNE] kilka błedów |
[code]
C:Documents and SettingsAdminPulpitV0.1(2).pwn(17738) : error 017: undefined symbol "PlayerTextDrawHide"
C:Documents and SettingsAdminPulpitV0.1(2).pwn(17742) : error 017: undefined symbol "PlayerTextDrawDestroy"
C:Documents and SettingsAdminPulpitV0.1(2).pwn(19487) : warning 202: number of arguments does not match definition
C:Documents and SettingsAdminPulpitV0.1(2).pwn(19499) : warning 202: number of arguments does not match definition
C:Documents and SettingsAdminPulpitV0.1(2).pwn(19500) : warning 202: number of arguments does not match definition
C:Documents and SettingsAdminPulpitV0.1(2).pwn(25905) : error 025: function heading differs from prototype
C:Documents and SettingsAdminPulpitV0.1(2).pwn(25906) : error 021: symbol already defined: "strrest"
C:Documents and SettingsAdminPulpitV0.1(2).pwn(25913) : error 017: undefined symbol "resoult"
C:Documents and SettingsAdminPulpitV0.1(2).pwn(25913) : error 079: inconsistent return types (array & non-array)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors. [/code]
a to linijki z kodem
[code]17731 print("GameModeExit()");
17732 SendClientMessageToAll(COLOR_RED, "SERVER: Wszystkie dane zosta?y zapisane!");
17733 SendClientMessageToAll(COLOR_GREY, "SERVER: Serwer wy??czy? si?!");
17734 for (new i = 0; i < sizeof(Licznik); i++) if (IsPlayerConnected(i))
17735 {
17736 if (showed[i])
17737 {
... |
| 3. Sprawdzanie błedów |
Witam. Zaczynam przygode z MTA i z LUA : D No i mam pytanie bo mam program LuaEdit i nie wiem jak przekompilowa? czy sprawdzi? b??dy w skrypcie, poniewa? wywala mi b??d ? Zapewne trzeba jako? podpi?? biblioteki SDK od MTA ale nie wiem jak to zrobi?. Wyt?umaczy kto? ? Pozdrawiam. |