-RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 pls help mam jeden warning viem že tie moc nevadia ale chcem sa uistit riadok CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); warning C:\Users\Nikolas\Desktop\carsystem.pwn(524) : warning 225: unreachable code Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Author Share Odesláno: 3. Srpen, 2011 pls help mam jeden warning viem že tie moc nevadia ale chcem sa uistit riadok CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); warning C:\Users\Nikolas\Desktop\carsystem.pwn(524) : warning 225: unreachable code Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 Hoď sem více řádků 519 - 529 Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 Hoď sem více řádků 519 - 529 Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Author Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i { Buylist[Carid]=CreateVehicle(Buylist[Modelid],Buylist[X],Buylist[Y],Buylist[Z],Buylist[Rotation],-1,-1,-1); } for(i=0; i { Spectating[0]=-1; } return 1; CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Author Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i { Buylist[Carid]=CreateVehicle(Buylist[Modelid],Buylist[X],Buylist[Y],Buylist[Z],Buylist[Rotation],-1,-1,-1); } for(i=0; i { Spectating[0]=-1; } return 1; CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000);CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) Toto také musíš dát do OnFilterScriptInit Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000);CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) Toto také musíš dát do OnFilterScriptInit Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Author Share Odesláno: 3. Srpen, 2011 ved mam Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Author Share Odesláno: 3. Srpen, 2011 ved mam Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i{ Buylist[i][Carid]=CreateVehicle(Buylist[i][Modelid],Buylist[i][X],Buylist[i][Y],Buylist[i][Z],Buylist[i][Rotation],-1,-1,-1); } for(i=0; i{ Spectating[i][0]=-1; } CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) return 1; } Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i{ Buylist[i][Carid]=CreateVehicle(Buylist[i][Modelid],Buylist[i][X],Buylist[i][Y],Buylist[i][Z],Buylist[i][Rotation],-1,-1,-1); } for(i=0; i{ Spectating[i][0]=-1; } CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) return 1; } Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Author Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i{ Buylist[i][Carid]=CreateVehicle(Buylist[i][Modelid],Buylist[i][X],Buylist[i][Y],Buylist[i][Z],Buylist[i][Rotation],-1,-1,-1); } for(i=0; i{ Spectating[i][0]=-1; } CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) return 1; } ešte horšie C:\Users\Nikolas\Desktop\bez warningu.pwn(1) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit") C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 036: empty statement C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 001: expected token: ";", but found ")" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : fatal error 107: too many error messages on one line kašlite už nato a diky za snahu radšej jeden waning než 3 errory pohoda ukazuje to tam ide to tak kašlem nato diky Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 3. Srpen, 2011 Author Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i{ Buylist[i][Carid]=CreateVehicle(Buylist[i][Modelid],Buylist[i][X],Buylist[i][Y],Buylist[i][Z],Buylist[i][Rotation],-1,-1,-1); } for(i=0; i{ Spectating[i][0]=-1; } CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) return 1; } ešte horšie C:\Users\Nikolas\Desktop\bez warningu.pwn(1) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit") C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 036: empty statement C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 001: expected token: ";", but found ")" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : fatal error 107: too many error messages on one line kašlite už nato a diky za snahu radšej jeden waning než 3 errory pohoda ukazuje to tam ide to tak kašlem nato diky Link to comment Share on other sites More sharing options...
0 jAk3r 47 Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i{ Buylist[i][Carid]=CreateVehicle(Buylist[i][Modelid],Buylist[i][X],Buylist[i][Y],Buylist[i][Z],Buylist[i][Rotation],-1,-1,-1); } for(i=0; i{ Spectating[i][0]=-1; } CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) return 1; } ešte horšie C:\Users\Nikolas\Desktop\bez warningu.pwn(1) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit") C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 036: empty statement C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 001: expected token: ";", but found ")" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : fatal error 107: too many error messages on one line kašlite už nato a diky za snahu radšej jeden waning než 3 errory pohoda ukazuje to tam ide to tak kašlem nato diky Nemas hozenou podminku pro Buylist Link to comment Share on other sites More sharing options...
0 jAk3r 47 Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 public OnFilterScriptInit() { new i; for(i=0; i{ Buylist[i][Carid]=CreateVehicle(Buylist[i][Modelid],Buylist[i][X],Buylist[i][Y],Buylist[i][Z],Buylist[i][Rotation],-1,-1,-1); } for(i=0; i{ Spectating[i][0]=-1; } CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000); CreateObject(2358,15.91233444,1553.17932129,11.86653519,0.00000000,0.00000000,0.00000000); //object(ammo_box_c2) (1) CreateObject(1267,-83.48348999,1482.45666504,26.06742096,0.00000000,0.00000000,0.00000000); //object(billbd2) (3) CreateObject(8420,29.74921799,1500.99487305,10.53890991,0.00000000,0.00000000,0.00000000); //object(arprtcrprk04_lvs) (8) CreateObject(11547,11.99408913,1546.05212402,15.55807304,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (1) CreateObject(11547,11.34719276,1527.69775391,15.55026436,0.00000000,0.00000000,0.00000000); //object(desn_tscanopy) (3) return 1; } ešte horšie C:\Users\Nikolas\Desktop\bez warningu.pwn(1) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit") C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 036: empty statement C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 001: expected token: ";", but found ")" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : fatal error 107: too many error messages on one line kašlite už nato a diky za snahu radšej jeden waning než 3 errory pohoda ukazuje to tam ide to tak kašlem nato diky Nemas hozenou podminku pro Buylist Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" Nemas hozenou podminku pro Buylist fail Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 3. Srpen, 2011 Share Odesláno: 3. Srpen, 2011 C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" Nemas hozenou podminku pro Buylist fail Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 4. Srpen, 2011 Author Share Odesláno: 4. Srpen, 2011 C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" Nemas hozenou podminku pro Buylist fail ked som to spravil dalo mi ešte viacej errorov Link to comment Share on other sites More sharing options...
0 -RgS-cReW-NiKo 0 Odesláno: 4. Srpen, 2011 Author Share Odesláno: 4. Srpen, 2011 C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 017: undefined symbol "Buylist" Nemas hozenou podminku pro Buylist fail ked som to spravil dalo mi ešte viacej errorov Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 4. Srpen, 2011 Share Odesláno: 4. Srpen, 2011 tak nekopíruj "king" Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 4. Srpen, 2011 Share Odesláno: 4. Srpen, 2011 tak nekopíruj "king" Link to comment Share on other sites More sharing options...
0 Globální moderátor HighPrint 177 Odesláno: 4. Srpen, 2011 Globální moderátor Share Odesláno: 4. Srpen, 2011 Dám ti takovýhle příklad. Máš auto, víš, že máš problémy s motorem. Dáš to do autoopravny a oni ti řeknou, že to auto má 20 problémů . V tomhle případě ti to opravili dobře, a ty navíc warningy jsou dobře. warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit") Tohle je nějaká blbost, OnFSInit je predefinovaný public, ale zkus nahoru forward error 017: undefined symbol "Buylist" Buylist je neznámý, => takže ho nadefinuj C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 036: empty statement C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 001: expected token: ";", but found ")" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : fatal error 107: too many error messages on one line Tyhle jen potom reagujou na to, že buylist je neznámej. Link to comment Share on other sites More sharing options...
0 Globální moderátor HighPrint 177 Odesláno: 4. Srpen, 2011 Globální moderátor Share Odesláno: 4. Srpen, 2011 Dám ti takovýhle příklad. Máš auto, víš, že máš problémy s motorem. Dáš to do autoopravny a oni ti řeknou, že to auto má 20 problémů . V tomhle případě ti to opravili dobře, a ty navíc warningy jsou dobře. warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit") Tohle je nějaká blbost, OnFSInit je predefinovaný public, ale zkus nahoru forward error 017: undefined symbol "Buylist" Buylist je neznámý, => takže ho nadefinuj C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 036: empty statement C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : error 001: expected token: ";", but found ")" C:\Users\Nikolas\Desktop\bez warningu.pwn(4) : fatal error 107: too many error messages on one line Tyhle jen potom reagujou na to, že buylist je neznámej. Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 4. Srpen, 2011 Share Odesláno: 4. Srpen, 2011 Proč si všichni nováčci myslí, že když jim to hodí víc errorů než co měli před řešením, tak je to řešení špatné? Jde o to, jestli se v kompilaci posuneš dál a ne jestli ti to hodí více nebo méně chyb. Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 4. Srpen, 2011 Share Odesláno: 4. Srpen, 2011 Proč si všichni nováčci myslí, že když jim to hodí víc errorů než co měli před řešením, tak je to řešení špatné? Jde o to, jestli se v kompilaci posuneš dál a ne jestli ti to hodí více nebo méně chyb. Link to comment Share on other sites More sharing options...
Dotaz
-RgS-cReW-NiKo 0
pls help mam jeden warning viem že tie moc nevadia ale chcem sa uistit
riadok
CreateObject(18367,-1341.13867188,-27.83824158,13.14843750,0.00000000,0.00000000,0.00000000);
warning
C:\Users\Nikolas\Desktop\carsystem.pwn(524) : warning 225: unreachable code
Link to comment
Share on other sites
29 odpovědí na tuto otázku
Recommended Posts