Alexica721 Posted January 3, 2013 Report Share Posted January 3, 2013 Buna am un scripthttp://pastebin.com/psyGF7V8si imi da erorile asteaC:\TOPSECRET\newbie\filterscripts\test.pwn(9) : error 017: undefined symbol "MAX_PLAYERS"C:\TOPSECRET\newbie\filterscripts\test.pwn(10) : error 017: undefined symbol "MAX_PLAYERS"C:\TOPSECRET\newbie\filterscripts\test.pwn(10) : error 009: invalid array size (negative, zero or out of bounds)C:\TOPSECRET\newbie\filterscripts\test.pwn(19) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(22) : error 054: unmatched closing brace ("}")C:\TOPSECRET\newbie\filterscripts\test.pwn(23) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(26) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(28) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(31) : error 070: rational number support was not enabledC:\TOPSECRET\newbie\filterscripts\test.pwn(31) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(31 -- 34) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(31 -- 34) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase12 Errors. M-am lasat de comunitatea sa-mp.ro Link to comment Share on other sites More sharing options...
DarkyTheAngel Posted January 3, 2013 Report Share Posted January 3, 2013 Linia #include <a_samp> iti zice ceva ?Daca nu functioneaza nici asa, adauga urmatoarele linii:[pawn]#undef MAX_PLAYERS#define MAX_PLAYERS NR.[/pawn]Schimba NR. cu numarul de sloturi. Link to comment Share on other sites More sharing options...
Alexica721 Posted January 3, 2013 Author Report Share Posted January 3, 2013 daca dau #include <a_samp>C:\TOPSECRET\newbie\filterscripts\test.pwn(20) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(24) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(29) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(35) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(41) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(47) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(53) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(59) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(65) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(71) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(77) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(83) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(89) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(95) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(101) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(107) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(110) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(111) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(123) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(132) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(136) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(141) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(147) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(153) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(159) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(165) : error 010: invalid function or declarationCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase26 Errors.daca dau #undef MAX_PLAYERS#define MAX_PLAYERS NR.C:\TOPSECRET\newbie\filterscripts\test.pwn(2) : error 017: undefined symbol "MAX_PLAYERS"C:\TOPSECRET\newbie\filterscripts\test.pwn(2) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(11) : error 017: undefined symbol "NR"C:\TOPSECRET\newbie\filterscripts\test.pwn(12) : error 017: undefined symbol "NR"C:\TOPSECRET\newbie\filterscripts\test.pwn(21) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(24) : error 054: unmatched closing brace ("}")C:\TOPSECRET\newbie\filterscripts\test.pwn(25) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(28) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(30) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(33) : error 070: rational number support was not enabledC:\TOPSECRET\newbie\filterscripts\test.pwn(33) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(33 -- 36) : error 010: invalid function or declarationC:\TOPSECRET\newbie\filterscripts\test.pwn(33 -- 36) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase13 Errors.imi poti rezolva scriptulsau este incurabil? M-am lasat de comunitatea sa-mp.ro Link to comment Share on other sites More sharing options...
DarkyTheAngel Posted January 3, 2013 Report Share Posted January 3, 2013 1. Este filterscript, sau functile sunt aruncate aiurea intr-un .pwn ?2. Iti lipsesc publicurile.Ex:[pawn]new DMV4;//===============================================================================================////---School For Drivers---////===============================================================================================// else if(CP[playerid]==80) {[/pawn]Aici trebuia sa fie un public, gen OnPlayer... . Link to comment Share on other sites More sharing options...
Alexica721 Posted January 3, 2013 Author Report Share Posted January 3, 2013 deci imi poti explica mai clar? M-am lasat de comunitatea sa-mp.ro Link to comment Share on other sites More sharing options...
DarkyTheAngel Posted January 3, 2013 Report Share Posted January 3, 2013 Desigur.Tie iti lipsesc publicurile.Ex:[pawn]//===============================================================================================////-- Asta este un exemplu --////===============================================================================================// SendClientMessage(playerid, COLOR_WHITE, "dsadsadsadsasad"); return 1; {[/pawn]Functia ar trebuii sa arate cam asa:[pawn]//===============================================================================================////-- Asta este un exemplu --////===============================================================================================//public OnPlayerConnect(playerid){ SendClientMessage(playerid, COLOR_WHITE, "dsadsadsadsasad"); return 1; {[/pawn] Link to comment Share on other sites More sharing options...
Alexica721 Posted January 3, 2013 Author Report Share Posted January 3, 2013 ms dar nu mere astaimi da o eroareC:\TOPSECRET\newbie\filterscripts\test.pwn(6) : fatal error 100: cannot read from file: "ChatColor"Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error. M-am lasat de comunitatea sa-mp.ro Link to comment Share on other sites More sharing options...
DarkyTheAngel Posted January 3, 2013 Report Share Posted January 3, 2013 http://www.sa-mp.ro/forum/index.php?topic=23206.0 Link to comment Share on other sites More sharing options...
Question
Alexica721
Buna am un script
http://pastebin.com/psyGF7V8
si imi da erorile astea
C:\TOPSECRET\newbie\filterscripts\test.pwn(9) : error 017: undefined symbol "MAX_PLAYERS"
C:\TOPSECRET\newbie\filterscripts\test.pwn(10) : error 017: undefined symbol "MAX_PLAYERS"
C:\TOPSECRET\newbie\filterscripts\test.pwn(10) : error 009: invalid array size (negative, zero or out of bounds)
C:\TOPSECRET\newbie\filterscripts\test.pwn(19) : error 010: invalid function or declaration
C:\TOPSECRET\newbie\filterscripts\test.pwn(22) : error 054: unmatched closing brace ("}")
C:\TOPSECRET\newbie\filterscripts\test.pwn(23) : error 010: invalid function or declaration
C:\TOPSECRET\newbie\filterscripts\test.pwn(26) : error 010: invalid function or declaration
C:\TOPSECRET\newbie\filterscripts\test.pwn(28) : error 010: invalid function or declaration
C:\TOPSECRET\newbie\filterscripts\test.pwn(31) : error 070: rational number support was not enabled
C:\TOPSECRET\newbie\filterscripts\test.pwn(31) : error 010: invalid function or declaration
C:\TOPSECRET\newbie\filterscripts\test.pwn(31 -- 34) : error 010: invalid function or declaration
C:\TOPSECRET\newbie\filterscripts\test.pwn(31 -- 34) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
12 Errors.
M-am lasat de comunitatea sa-mp.ro
Link to comment
Share on other sites
7 answers to this question
Recommended Posts