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
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
Wysłany: 2010-05-28, 18:03
djadi
Wiek: 37 Na forum: 6272 dni Posty: 1
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
Wysłany: 2010-05-29, 19:44
xmichux
Pawner
Wiek: 31 Na forum: 6021 dni Posty: 16
Piwa : 11
djadi , poka? mo?e linijki?
Wysłany: 2010-05-30, 21:37
Verb
-->GRAFIK<--
Wiek: 29 Na forum: 6458 dni Posty: 23
Piwa : 646
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]
Wysłany: 2010-06-17, 12:26
ePiTeK
Wiek: 32 Na forum: 6618 dni Posty: 5
Nick w MP: epitek
Piwa : 1049
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
Wysłany: 2010-06-17, 20:58
MG303
Wiek: 30 Na forum: 6515 dni Posty: 654
Piwa : 2990
Pawn if( strcmp ( cmdtext , "/a" , true ) == 0 && IsPlayerAdmin ( playerid )) {
tmp = strtok ( cmdtext , idx , strlen ( cmdtext ));
if (! strlen ( tmp ))
{
SendClientMessage ( playerid , COLOR_GREEN , "U?yj: /a [text]" );
return 1 ;
}
for (new i = 0 ; i < GetMaxPlayers (); i ++)
{
if( IsPlayerConnected ( i ))
{
format ( string , sizeof (string), "[AdminChat] (%s): %s" , PlayerName ( playerid ), tmp );
SendClientMessage ( i , COLOR_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 ( i , COLOR_RED string ); }
Pom??cie prosz?
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
[code]SendClientMessage(i, COLOR_RED, string); }[code]
Wysłany: 2010-06-18, 20:17
quack
Biotyka jest mocą.
Wiek: 30 Na forum: 6367 dni Posty: 11
Piwa : 125
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.
Wysłany: 2010-06-19, 16:40
mkqueu
Wiek: 34 Na forum: 6312 dni Posty: 71
Nick w MP: x64
Piwa : 132
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
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 ?
Wysłany: 2010-06-20, 18:33
Johnny_Eldorito
Wiek: 41 Na forum: 6542 dni Posty: 1
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.
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
Stworzy?em map? w Mta Edytor chcia?bym j? wgra? do samp wie kto? jak zrobi? amx ?
Wysłany: 2010-06-22, 11:06
Serta
Wiek: 44 Na forum: 6038 dni Posty: 6
Nick w MP: Marc Kelly
Piwa : 270
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
Wysłany: 2010-06-22, 13:08
Czaki
Wiek: 35 Na forum: 6061 dni Posty: 5
Piwa : 2
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
[you]
Nie krzycz na mnie tylko postaw lepiej
. Ja jeszcze szkole sie w pawno
Wysłany: 2010-06-22, 13:26
Serta
Wiek: 44 Na forum: 6038 dni Posty: 6
Nick w MP: Marc Kelly
Piwa : 270
Dobra spoko podpis pokaz linijke ta w ktorej masz errora sproboje pomoc
Podpis
r-rp.eu
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: