Guest sworm Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 Tak caftee dnes som sa nudil na vecer a spravil som si do modu povolania ale inak ako zvycajne takze mam to takto : V hre napisete /povolanie alebo /zamestnat = je to cez dvojity prikaz a mate na vyber Mafian,taxi,mechanik,policajt,ale maam tu nejake chyby.. C:\DOCUME~1\user\Plocha\zaloha.pwn(530) : warning 213: tag mismatch C:\DOCUME~1\user\Plocha\zaloha.pwn(684) : error 021: symbol already defined: "current" C:\DOCUME~1\user\Plocha\zaloha.pwn(678) : warning 203: symbol is never used: "current" C:\DOCUME~1\user\Plocha\zaloha.pwn(678 -- 756) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(678 -- 757) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(678 -- 757) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. dam sem riadky : Error 678 : new current; Na riadku 530 hadze Tg mismatch a riadok 684 : new Menu:current; Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 new current; vymaž Link to comment Share on other sites More sharing options...
0 Guest sworm Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 C:\DOCUME~1\user\Plocha\zaloha.pwn(530) : warning 213: tag mismatch C:\DOCUME~1\user\Plocha\zaloha.pwn(756) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(757) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(759) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(761) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(763) : error 021: symbol already defined: "GivePlayerWeapon" C:\DOCUME~1\user\Plocha\zaloha.pwn(765) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(767) : error 021: symbol already defined: "GivePlayerWeapon" C:\DOCUME~1\user\Plocha\zaloha.pwn(769) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(771) : error 021: symbol already defined: "GivePlayerWeapon" C:\DOCUME~1\user\Plocha\zaloha.pwn(773) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(775) : error 021: symbol already defined: "GivePlayerWeapon" C:\DOCUME~1\user\Plocha\zaloha.pwn(777) : error 010: invalid function or declaration C:\DOCUME~1\user\Plocha\zaloha.pwn(779) : error 021: symbol already defined: "SetPlayerArmour" C:\DOCUME~1\user\Plocha\zaloha.pwn(784) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 14 Errors. Vyhodi toto.... a riadky od 756 po 785 : current = GetPlayerMenu(playerid); if(current == menu) { switch(row) { case 0:{ //Row 1 code GivePlayerWeapon(playerid,26,99999); } case 1:{ //Row 2 code GivePlayerWeapon(playerid,28,99999); } case 2:{ //Row 3 code GivePlayerWeapon(playerid,31,99999); } case 3:{ //Row 4 code GivePlayerWeapon(playerid,24,99999); } case 4:{ //Row 5 code SetPlayerArmour(playerid, 100.0); SetPlayerHealth(playerid, 100.0); } } } return 1; } Link to comment Share on other sites More sharing options...
0 Guest sworm Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 Opravene stacilo odmazat to posledne Return ..opravene uz len riadok 530 Tag Mismatch Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 napiš sem řádek 530 Link to comment Share on other sites More sharing options...
0 Guest sworm Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 ShowMenuForPlayer(Zamestnat,playerid); Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 měl si to obráceně : Špatně : ShowMenuForPlayer(Zamestnat,playerid); Správně : ShowMenuForPlayer(playerid,Zamestnat); Link to comment Share on other sites More sharing options...
0 Guest sworm Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 staale Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 ShowMenuForPlayer(Zamestnat, playerid); ShowMenuForPlayer(playerid, Zamestnat); oba dva zpusoby by mely jet Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 to asi těžko ne ? :? Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 ja to mam v mode jak chci a jde to ... a nezapomen ja nikdy nelzu Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 14. Říjen, 2008 Share Odesláno: 14. Říjen, 2008 sorry, řekl sem to blbě, já koukal na text draw a ne na menu, správně je toto : ShowMenuForPlayer(Zamestnat,playerid); a ten tag mismatch máš proto, protože máš v módě asi toto : new Zamestnat;, a to je špatně, správně to je takto : new Menu:Zamestnat; Link to comment Share on other sites More sharing options...
Dotaz
Guest sworm
Tak caftee dnes som sa nudil na vecer a spravil som si do modu povolania ale inak ako zvycajne takze mam to takto :
V hre napisete /povolanie alebo /zamestnat = je to cez dvojity prikaz
a mate na vyber Mafian,taxi,mechanik,policajt,ale maam tu nejake chyby..
C:\DOCUME~1\user\Plocha\zaloha.pwn(530) : warning 213: tag mismatch
C:\DOCUME~1\user\Plocha\zaloha.pwn(684) : error 021: symbol already defined: "current"
C:\DOCUME~1\user\Plocha\zaloha.pwn(678) : warning 203: symbol is never used: "current"
C:\DOCUME~1\user\Plocha\zaloha.pwn(678 -- 756) : error 010: invalid function or declaration
C:\DOCUME~1\user\Plocha\zaloha.pwn(678 -- 757) : error 010: invalid function or declaration
C:\DOCUME~1\user\Plocha\zaloha.pwn(678 -- 757) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
dam sem riadky : Error 678 :
new current;
Na riadku 530 hadze Tg mismatch a riadok 684 : new Menu:current;
Link to comment
Share on other sites
11 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now