Lerry 15 Odesláno: 22. Leden, 2013 Share Odesláno: 22. Leden, 2013 Zdravím potřeboval bych vedět proč mě ho háže chyby C:\Users\Spravce\Desktop\mexico.pwn(545) : error 017: undefined symbol "Player" C:\Users\Spravce\Desktop\mexico.pwn(545) : warning 215: expression has no effect C:\Users\Spravce\Desktop\mexico.pwn(545) : error 001: expected token: ";", but found "]" C:\Users\Spravce\Desktop\mexico.pwn(545) : error 029: invalid expression, assumed zero C:\Users\Spravce\Desktop\mexico.pwn(545) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. Řádky new Save_ID = Player[playerid][saveID]; vím že je to nějaká blbost a budete sem psat že su deb*l a atd... to si nechte pro sebe A ještě bych potřeboval setlvl na 3 lvly pls help Link to comment Share on other sites More sharing options...
0 Ar3st 1 Odesláno: 22. Leden, 2013 Share Odesláno: 22. Leden, 2013 nemáš nadefinovaného playera omg a jestli to má být jako jméno hráče zak zo máš už nadefinované ale je tam se mi zda PlayerName Link to comment Share on other sites More sharing options...
0 Paulo* 32 Odesláno: 22. Leden, 2013 Share Odesláno: 22. Leden, 2013 JJ chyba je že nemaš definovaneho playera .. Link to comment Share on other sites More sharing options...
0 ERIK518 27 Odesláno: 22. Leden, 2013 Share Odesláno: 22. Leden, 2013 Neviem isto ale skús tam dať niekde do módu/fs (ja to mám úplne dole) toto: stock Player(playerid){ new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,MAX_PLAYER_NAME); return name; } (tam kde je name/Name neviem isto či nemáš dať Player ale to neviem podla toho ak ti to nebude hádzať errory a bude to funkčné tak to je jedno ) Ak to mám zle tak sorry ja som v pawne len začiatočník ale ja som mal takýto príkaz : new string[128]; format(string,128," * {FFFFFF} Hráč{FF0000} %s {FFFFFF}prišiel na server.",PlayerName(playerid)); SendClientMessageToAll(COLOR_SERVER,str); A neukazovalo meno hráča lebo som to nemal dole... a teraz to ide Link to comment Share on other sites More sharing options...
0 Lerry 15 Odesláno: 22. Leden, 2013 Author Share Odesláno: 22. Leden, 2013 to mám takto if(listitem == 2) { new Save_ID = Player[playerid][saveID]; if(!IsPlayerConnected(Save_ID)) return SendClientMessage(playerid,C_WARNING,"Hráč se medzitím odpojil !"); else if(IsPlayerConnected(Save_ID)) { KillPlayer(Save_ID); new Name[24]; GetPlayerName(playerid,Name,24); new Name2[24]; GetPlayerName(Save_ID,Name2,24); new MSG1[128]; new MSG2[128]; format(MSG1,128,"Zabil si hráče %s",Name2); format(MSG2,128,"Administrátor %s tě zabil !",Name); SendClientMessage(playerid,C_ADMIN,MSG1); SendClientMessage(Save_ID,C_ADMIN,MSG2); } } Link to comment Share on other sites More sharing options...
0 ToM 7 Odesláno: 22. Leden, 2013 Share Odesláno: 22. Leden, 2013 Zkus: new Player; //Nahoru Doufám že to opravdu bude fungovat Ale myslím si že ano, přinejhorším zkusím dál. Link to comment Share on other sites More sharing options...
0 Lerry 15 Odesláno: 22. Leden, 2013 Author Share Odesláno: 22. Leden, 2013 omg nic LOCK jebu na to..... Link to comment Share on other sites More sharing options...
Dotaz
Lerry 15
Zdravím potřeboval bych vedět proč mě ho háže chyby
C:\Users\Spravce\Desktop\mexico.pwn(545) : error 017: undefined symbol "Player"
C:\Users\Spravce\Desktop\mexico.pwn(545) : warning 215: expression has no effect
C:\Users\Spravce\Desktop\mexico.pwn(545) : error 001: expected token: ";", but found "]"
C:\Users\Spravce\Desktop\mexico.pwn(545) : error 029: invalid expression, assumed zero
C:\Users\Spravce\Desktop\mexico.pwn(545) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Řádky
vím že je to nějaká blbost a budete sem psat že su deb*l a atd... to si nechte pro sebe
A ještě bych potřeboval setlvl na 3 lvly pls help
Link to comment
Share on other sites
6 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