Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2011-01-19, 20:11


Ziew008







Wiek: 29
Na forum: 5648 dni
Posty: 2



Respekt: 50

Przy kompilacji wyskakuj? mi takie errory:
C:\Users\Ziew\Desktop\pawno\include\dini.inc(46) : error 017: undefined symbol "MAX_STRING"
C:\Users\Ziew\Desktop\pawno\include\dini.inc(46) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Ziew\Desktop\pawno\include\dini.inc(46) : error 036: empty statement
C:\Users\Ziew\Desktop\pawno\include\dini.inc(46) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Podejrzewam, ?e to co? z includem dini, ale nie wiem. Zmienia?em include dini na nowszy ale nic nie pomag?o. Prosz? o pomoc! Oczywi?cie postawie :piwo: :)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-19, 21:27


kuba98







Wiek: 45
Na forum: 5642 dni
Posty: 8

Piwa: 95

Respekt: 50

Dodaj na gorze mapy new MAX_STRING
to chyba pomoze

[ Dodano: 2011-01-19, 21:29 ]
Mapa truck ptm mam takie errory co z ty mzrobic?
Kod:

C:\Documents and Settings\Kacper\Pulpit\ptr.pwn(5027) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Kacper\Pulpit\ptr.pwn(5027) : warning 215: expression has no effect
C:\Documents and Settings\Kacper\Pulpit\ptr.pwn(5027) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Kacper\Pulpit\ptr.pwn(5027) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Kacper\Pulpit\ptr.pwn(5027) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.



Za pomoc piwo oczywiscie

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-19, 21:45


Ziew008







Wiek: 29
Na forum: 5648 dni
Posty: 2



Respekt: 50

Nie pomog?o niestety.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 03:08


The Psychol

Psychol






Wiek: 35
Na forum: 6783 dni
Posty: 2819
Nick w MP: The_Psychol

Piwa: 4386

Respekt: 314
Respekt: 314Respekt: 314Respekt: 314


   Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
Ziew008,
Albo poka? linijk? 46 lub na g?rze daj
Kod:

#define MAX_STRING 1000
//nie wiem po co ale...

kuba98, linijka 5027 :x

oskarekdj, nie masz klamry.

Podpis

And that's the bottom line 'cause The Psychol said so!

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 16:56


kuba98







Wiek: 45
Na forum: 5642 dni
Posty: 8

Piwa: 95

Respekt: 50

Kod:

LosujRozladunek(playerid);


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 18:21


The Psychol

Psychol






Wiek: 35
Na forum: 6783 dni
Posty: 2819
Nick w MP: The_Psychol

Piwa: 4386

Respekt: 314
Respekt: 314Respekt: 314Respekt: 314


   Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
kuba98, a linijk? wy?ej ? i ni?ej?

Podpis

And that's the bottom line 'cause The Psychol said so!

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 18:39


kuba98







Wiek: 45
Na forum: 5642 dni
Posty: 8

Piwa: 95

Respekt: 50

Kod:

if(CurrentMenu == rozladunek)
{
switch(row)
{
case 0:
{
LosujRozladunek(playerid);
}
case 1:
{
SendClientMessage(playerid, COLOR_LIGHTGREEN, "Szeroko?ci!");
}
}
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 18:41


The Psychol

Psychol






Wiek: 35
Na forum: 6783 dni
Posty: 2819
Nick w MP: The_Psychol

Piwa: 4386

Respekt: 314
Respekt: 314Respekt: 314Respekt: 314


   Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
kuba98, poka? funkcje LosujRozladunek(

Podpis

And that's the bottom line 'cause The Psychol said so!

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 18:46


kuba98







Wiek: 45
Na forum: 5642 dni
Posty: 8

Piwa: 95

Respekt: 50

Kod:

forward LosujRozladunek(playerid);
public LosujRozladunek(playerid)
{
new towar = random(23); //

if(towar == 0)
{
ustaltowar[playerid] = 0;
SetPlayerCP(playerid,1693.1924,1639.1239,10.5577 , 20);
}
else if(towar == 1)
{
ustaltowar[playerid] = 1;
SetPlayerCP(playerid,2821.7622,2605.9915,10.8203 , 20);
}
else if(towar == 2)
{
ustaltowar[playerid] = 2;
SetPlayerCP(playerid,978.4063,2097.9084,10.8203 , 20);
}
else if(towar == 3)
{
ustaltowar[playerid] = 3;
SetPlayerCP(playerid,621.4365,871.6871,-42.9609 , 20);
}
else if(towar == 4)
{
ustaltowar[playerid] = 4;
SetPlayerCP(playerid,-2039.7074,-2384.6646,30.6250 , 20);
}
else if(towar == 5)
{
ustaltowar[playerid] = 5;
SetPlayerCP(playerid,-2171.6145,-210.7355,35.3203 , 20);
}
else if(towar == 6)
{
ustaltowar[playerid] = 6;
SetPlayerCP(playerid,-1693.0688,26.4203,3.5547 , 20);
}
else if(towar == 7)
{
ustaltowar[playerid] = 7;
SetPlayerCP(playerid,-2433.1855,2298.9460,4.9844 , 20);
}
else if(towar == 8)
{
ustaltowar[playerid] = 8;
SetPlayerCP(playerid,2761.1680,-2391.8877,13.3599 , 20);
}
else if(towar == 9)
{
ustaltowar[playerid] = 9;
SetPlayerCP(playerid,2073.3105,-2234.3032,13.2740 , 20);
}
else if(towar == 10)
{
ustaltowar[playerid] = 10;
SetPlayerCP(playerid,2187.2546,-2263.6301,13.1984 , 20);
}
else if(towar == 11)
{
ustaltowar[playerid] = 11;
SetPlayerCP(playerid,873.5506,-1256.3068,14.7350 , 20);
}
else if(towar == 12)
{
ustaltowar[playerid] = 12;
SetPlayerCP(playerid,-1044.9138,-644.4881,31.7349 , 20);
}
else if(towar == 13)
{
ustaltowar[playerid] = 13;
SetPlayerCP(playerid,-1046.9347,-1156.9359,127.6371 , 20);
}
else if(towar == 14)
{
ustaltowar[playerid] = 14;
SetPlayerCP(playerid,-1264.0833,-402.4480,14.1600 , 20);
}
else if(towar == 15)
{
ustaltowar[playerid] = 15;
SetPlayerCP(playerid,-2078.4800,213.0442,35.3230 , 20);
}
else if(towar == 16)
{
ustaltowar[playerid] = 16;
SetPlayerCP(playerid,-2517.9575,-612.3046,132.5794 , 20);
}
else if(towar == 17)
{
ustaltowar[playerid] = 17;
SetPlayerCP(playerid,-2354.1445,-1637.0999,483.7025 , 20);
}
else if(towar == 18)
{
ustaltowar[playerid] = 18;
SetPlayerCP(playerid,-1300.3336,2506.8269,87.1869 , 20);
}
else if(towar == 19)
{
ustaltowar[playerid] = 19;
SetPlayerCP(playerid,-520.8759,2593.0227,53.6498 , 20);
}
else if(towar == 20)
{
ustaltowar[playerid] = 20;
SetPlayerCP(playerid,268.8903,1410.6411,10.6376 , 20);
}
else if(towar == 21)
{
ustaltowar[playerid] = 21;
SetPlayerCP(playerid,2468.7148,1934.8610,10.0187 , 20);
}
else if(towar == 22)
{
ustaltowar[playerid] = 22;
SetPlayerCP(playerid,2707.6196,855.4386,10.3197 , 20);
}
return 1;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 19:08


Robert007







Wiek: 35
Na forum: 6722 dni
Posty: 223

Piwa: 11851

Respekt: 70

poka? ID koloru: COLOR_LIGHTGREEN lub wstaw tam 0xFF0000

SendClientMessage(playerid, COLOR_LIGHTGREEN, "Szeroko?ci!");

Podpis
Jak sie masz
?
Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-20, 19:14


kuba98







Wiek: 45
Na forum: 5642 dni
Posty: 8

Piwa: 95

Respekt: 50

Kod:

#define COLOR_LIGHTGREEN 0x00FF00FF


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-21, 19:12


xatem

Uczę się Pawn :P






Wiek: 30
Na forum: 6223 dni
Posty: 10
Nick w MP: xatem

Piwa: 33

Respekt: 49,5

Siema zrobilem skrypt i wyskoczy?y mi 4 errory gdy przerabiam go na amx :
C:\Documents and Settings\Xatem\Pulpit\BMX\bmx2.pwn(7) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Xatem\Pulpit\BMX\bmx2.pwn(7) : error 017: undefined symbol "map"
C:\Documents and Settings\Xatem\Pulpit\BMX\bmx2.pwn(7) : error 017: undefined symbol "definitions"
C:\Documents and Settings\Xatem\Pulpit\BMX\bmx2.pwn(7) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Jak je naprawic daje piwo za kazda odpowiec na ten temat

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-21, 19:36


kuba98







Wiek: 45
Na forum: 5642 dni
Posty: 8

Piwa: 95

Respekt: 50

xatem,
Daj na poczetek mapy
Kod:

new map ; i new definitions;

Robert007,
to moje gg 11381487
napisz ok?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-21, 19:54


BrendY

Stalker.






Wiek: 32
Na forum: 6403 dni
Posty: 48

Piwa: 2482

Respekt: 35,8

Wystarczy jak doda:

Kod:

new map, definitions;


Postaw piwo autorowi tego posta
 

 
Wysłany: 2011-01-25, 09:08


Pacio_Caverutti

Rollin' and hejtaz.






Wiek: 29
Na forum: 6417 dni
Posty: 37
Nick w MP: Delight

Piwa: 1363

Respekt: 61,1

Przy kompilacji mapy, wyskakuj? mi owe errory:
Kod:

C:\D & S\Administrator\Pulpit\Micha?a\Cops VS Robbers\CopsVSTerrorists v4.0 [0.3b]\gamemodes\C_VS_T_4.0.pwn(790) : error 029: invalid expression, assumed zero
C:\D & S\Administrator\Pulpit\Micha?a\Cops VS Robbers\CopsVSTerrorists v4.0 [0.3b]\gamemodes\C_VS_T_4.0.pwn(790) : warning 215: expression has no effect
C:\D & S\Administrator\Pulpit\Micha?a\Cops VS Robbers\CopsVSTerrorists v4.0 [0.3b]\gamemodes\C_VS_T_4.0.pwn(790) : error 001: expected token: ";", but found "if"
C:\D & S\Administrator\Pulpit\Micha?a\Cops VS Robbers\CopsVSTerrorists v4.0 [0.3b]\gamemodes\C_VS_T_4.0.pwn(790) : warning 217: loose indentation
C:\D & S\Administrator\Pulpit\Micha?a\Cops VS Robbers\CopsVSTerrorists v4.0 [0.3b]\gamemodes\C_VS_T_4.0.pwn(790) : error 036: empty statement
C:\D & S\Administrator\Pulpit\Micha?a\Cops VS Robbers\CopsVSTerrorists v4.0 [0.3b]\gamemodes\C_VS_T_4.0.pwn(790) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.



Dam wam linijk? od 789 do 799.
Pawn

if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_ORANGE,"Nie jeste? zarejestrowany! U?yj /register [has?o]!");}else
   else if(fexist(pfile));{
      if(ServerInfo[Language]==2)SendClientMessage(playeridCOLOR_LIGHTGREEN"Konto jest zarejestrowane! U?yj /login [has?o!");}else
    if(fexist(pfile) && Account[playerid][pLoggedin]==&& ServerInfo[AutoLogin]==1){
      if((!strcmp(tmp3,tmp2,true))){
          PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
          Account[playerid][pLoggedin]=1;
          Account[playerid][pAdminlevel]=dini_Int(pfile"Adminlevel");
          dini_IntSet(pfile"Logged"Account[playerid][pLoggedin]);
          GetPlayerIp(playerid,tmp3,100);
          dini_Set(pfile,"Ip",tmp3);


Podpis


Pomogłem? Daj piwo lub punkt reputacji. :)
-= Gie eR U Be eS O eN =-
Ostatnio zmieniony przez Pacio_Caverutti 2011-01-25, 09:11, w całości zmieniany 3 razy  
Postaw piwo autorowi tego posta
 

 
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN » BŁĘDY PRZY KOMPILACJI - ROZWIĄZANIE Odpowiedz do tematu

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku