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

Wysłany: 2010-05-27, 19:20


Marihuana

Żyć by umierać :)






Wiek: 31
Na forum: 6144 dni
Posty: 101
Nick w MP: KoZaKo

Piwa: 547

Respekt: 70

Kod:

forward IsVehicleInUse(vehicleid);

Kod:

public IsVehicleInUse(vehicleid)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
{
return 1;
}
}
return 0;
}


O tak :D

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-05-28, 18:03


djadi







Wiek: 37
Na forum: 6272 dni
Posty: 1



Respekt: 50

Ostrzeżeń: 20%
Nie mam zielobego poj?cia co si? sta?o ;/

Kod:

D:\Documents and Settings\Wilma\Pulpit\Nowy folder (2)\pawno\include\dutils.inc(379) : error 025: function heading differs from prototype
D:\Documents and Settings\Wilma\Pulpit\Nowy folder (2)\pawno\include\dutils.inc(380) : error 021: symbol already defined: "strtok"
D:\Documents and Settings\Wilma\Pulpit\Nowy folder (2)\pawno\include\dutils.inc(395) : error 047: array sizes do not match, or destination array is too small
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(2380) : error 017: undefined symbol "charfind"
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(8015) : error 004: function "FixHour" is not implemented
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(8464) : error 004: function "FixHour" is not implemented
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(8505) : error 004: function "FixHour" is not implemented
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(10443) : error 017: undefined symbol "IsVehicleInUse"
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(10790) : error 004: function "detonateVehicle" is not implemented
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(11701) : error 017: undefined symbol "IsPlayerInVehicleWithNoPlates"
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(16064) : error 004: function "FixHour" is not implemented
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(17860) : error 004: function "SetCamBack" is not implemented
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(30433) : warning 202: number of arguments does not match definition
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(31019) : error 075: input line too long (after substitutions)
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(31020 -- 31021) : error 075: input line too long (after substitutions)
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(31020 -- 31022) : error 075: input line too long (after substitutions)
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(31020 -- 31023) : error 075: input line too long (after substitutions)
D:\DOCUME~1\Wilma\Pulpit\CITYLI~1.1\RP2.pwn(31020 -- 31023) : fatal error 107: too many error messages on one line


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-05-29, 19:44


xmichux

Pawner






Wiek: 31
Na forum: 6021 dni
Posty: 16

Piwa: 11

Respekt: 50

djadi, poka? mo?e linijki?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-05-30, 21:37


Verb

-->GRAFIK<--






Wiek: 29
Na forum: 6458 dni
Posty: 23

Piwa: 646

Respekt: 50

djadi,
Kod:

D:\Documents and Settings\Wilma\Pulpit\Nowy folder (2)\pawno\include\dutils.inc(380) : error 021: symbol already defined: "strtok"


U?y?e? 2 razy funkcj? "strtok", usu? z tej linijki gdzie wyst?puje b??d.

Podpis
Nikt MNIE już nie chce :( [/color]
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-17, 12:26


ePiTeK







Wiek: 32
Na forum: 6618 dni
Posty: 5
Nick w MP: epitek

Piwa: 1049

Respekt: 60

Kod:

C:\Documents and Settings\user\Pulpit\Moje#\Samp\Pawno&Server\pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Documents and Settings\user\Pulpit\Moje#\Samp\Pawno&Server\pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Documents and Settings\user\Moje dokumenty\Hax.pwn(1718) : error 012: invalid function call, not a valid address
C:\Documents and Settings\user\Moje dokumenty\Hax.pwn(1718) : warning 215: expression has no effect
C:\Documents and Settings\user\Moje dokumenty\Hax.pwn(1718) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\user\Moje dokumenty\Hax.pwn(1718) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\Moje dokumenty\Hax.pwn(1718) : fatal error 107: too many error messages on one line


Naprawilem ponad 15 errorow ale juz z tymi wytrzymac niemoge.

Linijka 1718:
Kod:

format(string, sizeof(string), "VIP %s (id:%d) dal %d$ graczowi %s (id: %d)",PlayerName(playerid),playerid, moneyplus, moneyplayername,giveplayerid);


:-? Za pomoc :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-17, 20:58


MG303







Wiek: 30
Na forum: 6515 dni
Posty: 654

Piwa: 2990

Respekt: 231,6
Respekt: 231,6Respekt: 231,6

Pawn
if(strcmp(cmdtext"/a"true) == && IsPlayerAdmin(playerid)) {
            tmp strtok(cmdtextidxstrlen(cmdtext));
             if (!strlen(tmp))
              {
                  SendClientMessage(playeridCOLOR_GREEN"U?yj: /a [text]");
                return 1;
             }
             for (new 0<GetMaxPlayers(); i++)
             {
                if(IsPlayerConnected(i))
                {
                                         format(stringsizeof(string), "[AdminChat] (%s): %s"PlayerName(playerid), tmp);
                          SendClientMessage(iCOLOR_RED string); }
                       }
                }
                return 1;
        }


To moja komenda

a mam takie errory:

Kod:

C:\Users\Artur\Desktop\--------(27) : error 001: expected token: ",", but found "-identifier-"
C:\Users\Artur\Desktop\---------(27) : warning 215: expression has no effect
C:\Users\Artur\Desktop\------------(27) : error 001: expected token: ";", but found ")"
C:\Users\Artur\Desktop\---------------(27) : error 029: invalid expression, assumed zero
C:\Users\Artur\Desktop\-----------(27) : 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.


a linijka 27 to:

Pawn
SendClientMessage(iCOLOR_RED string); }



Pom??cie prosz? ;(

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-17, 20:59


Marihuana

Żyć by umierać :)






Wiek: 31
Na forum: 6144 dni
Posty: 101
Nick w MP: KoZaKo

Piwa: 547

Respekt: 70

[code]SendClientMessage(i, COLOR_RED, string); }[code]

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-18, 20:17


quack

Biotyka jest mocą.






Wiek: 30
Na forum: 6367 dni
Posty: 11

Piwa: 125

Respekt: 50

Ostrzeżeń: 20%
Kod:

C:\Documents and Settings\nofight\Pulpit\psp.pwn(8) : fatal error 100: cannot read from file: "MidoStream"


Chodzi chyba o to ?e nie mam inc. z Midostream?.Jescz? z takim b??dem si? nie spotka?em.

Podpis


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-19, 16:40


mkqueu







Wiek: 34
Na forum: 6312 dni
Posty: 71
Nick w MP: x64

Piwa: 132

Respekt: 50

http://solidfiles.com/d/4x9O/
Wklej to do folderu include.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-20, 15:18


Marihuana

Żyć by umierać :)






Wiek: 31
Na forum: 6144 dni
Posty: 101
Nick w MP: KoZaKo

Piwa: 547

Respekt: 70

Mam system expa + lv + hp ktore z kazdym levelem zwieksza sie...I mam progress bara zrobionego ale powyzej 150 hp czyli jak mam np 350 hp to linia od progresu musi zejsc ze 3 razy zanim bede mial 0...Dziwne ?

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-20, 18:33


Johnny_Eldorito







Wiek: 41
Na forum: 6542 dni
Posty: 1



Respekt: 50

Ostrzeżeń: 100%
Witam ot?z gdy komplikuj? map? z pwn. do amx wyskakuj? mi b??dy takie jak:

Kod:

C:\Documents and Settings\Admin\Pulpit\heavy.pwn(1044) : error 017: undefined symbol "AS"
C:\Documents and Settings\Admin\Pulpit\heavy.pwn(1044) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Pulpit\heavy.pwn(1044) : error 017: undefined symbol "NET"
C:\Documents and Settings\Admin\Pulpit\heavy.pwn(1044) : 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 dobr? odp dam pifkko prosz? o pw lub ni?ej.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-21, 18:39


Cz3chu

Szary człowiek






Wiek: 28
Na forum: 6044 dni
Posty: 239
Nick w MP: Czechu

Piwa: 174

Respekt: 54,3

Stworzy?em map? w Mta Edytor chcia?bym j? wgra? do samp wie kto? jak zrobi? amx ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-22, 11:06


Serta







Wiek: 44
Na forum: 6038 dni
Posty: 6
Nick w MP: Marc Kelly

Piwa: 270

Respekt: 50

Wchodzisz na http://gtamap.delux-host.com/converter/ dajesz Przegladaj i wyszukujesz twoj plik w folderze MTA potem w tabelce wybierasz "Pawn code for SA-MP" potem klikasz w Settings i dajesz "Self Running Gamemode" i masz gotowa mapke juz z publicami ;)

A ja mam takie errory

Kod:

C:\Documents and Settings\Dom\Moje dokumenty\Pobieranie\Sf 3.0\SanFierroRolePlay.pwn(232) : error 025: function heading differs from prototype
C:\Documents and Settings\Dom\Moje dokumenty\Pobieranie\Sf 3.0\SanFierroRolePlay.pwn(3966) : error 025: function heading differs from prototype
C:\Documents and Settings\Dom\Moje dokumenty\Pobieranie\Sf 3.0\SanFierroRolePlay.pwn(15969) : error 001: expected token: ",", but found ";"
C:\Documents and Settings\Dom\Moje dokumenty\Pobieranie\Sf 3.0\SanFierroRolePlay.pwn(15970) : warning 215: expression has no effect
C:\Documents and Settings\Dom\Moje dokumenty\Pobieranie\Sf 3.0\SanFierroRolePlay.pwn(16903) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Dom\Moje dokumenty\Pobieranie\Sf 3.0\SanFierroRolePlay.pwn(30361) : error 025: function heading differs from prototype
C:\Documents and Settings\Dom\Moje dokumenty\Pobieranie\Sf 3.0\SanFierroRolePlay.pwn(30366) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


Wiem ze byl ten prototype ale nie umiem naprawic

Podpis


r-rp.eu
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-22, 13:08


Czaki







Wiek: 35
Na forum: 6061 dni
Posty: 5

Piwa: 2

Respekt: 50

co mam zrobi? gdy mam b??d z
Kod:
Kod:


for(new i=0; i<MAX_PLAYERS; i++)

warning 219: local variable "i" shadows a variable at a preceding level


Prosze o pomoc

Podpis
Nie krzycz na mnie tylko postaw lepiej
:piwo: . Ja jeszcze szkole sie w pawno
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-06-22, 13:26


Serta







Wiek: 44
Na forum: 6038 dni
Posty: 6
Nick w MP: Marc Kelly

Piwa: 270

Respekt: 50

Dobra spoko podpis :) pokaz linijke ta w ktorej masz errora sproboje pomoc

Podpis


r-rp.eu
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