Wysłany: 2012-01-29, 18:34
Colin_Carleone
Wiek: 30 Na forum: 5724 dni Posty: 373
Piwa : 4800
Witam.
Zrobi?em 3d-text'a , lecz mam warningi nie wiem z czego. Oto kod 3d text'a :
Kod:
Create3DTextLabel("(#FF0000)Garaz (#FFFFFF): nr. (#008A02)1 \n (#FF0000)Wlasciciel (#FFFFFF): (#FF0000)Brak \n (#FF0000)Pojazd (#FFFFFF): (#FF0000)Brak",-323.9627,491.5840,16.6381,25.0,0);
A to warningi :
Kod:
C:\Users\Prezes\Desktop\LiveTruck - Projekt\samp03dsvr_R2_win32\gamemodes\live.pwn(5297) : warning 213: tag mismatch
C:\Users\Prezes\Desktop\LiveTruck - Projekt\samp03dsvr_R2_win32\gamemodes\live.pwn(5297) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
Co tu jest nie tak ? Za pomoc
Wysłany: 2012-02-01, 19:04
mmarcinn21
Programista
Wiek: 32 Na forum: 6363 dni Posty: 32
Piwa : 727
Colin_Carleone , Poniewa? usun??e? argument odpowiedzialny za kolor.
Kod: Create3DTextLabel("(#FF0000)Garaz (#FFFFFF): nr. (#008A02)1 \n (#FF0000)Wlasciciel (#FFFFFF): (#FF0000)Brak \n (#FF0000)Pojazd (#FFFFFF): (#FF0000)Brak",COLOR_JAKIS,-323.9627,491.5840,16.6381,25.0,0);
A po drugie kolory RGB nie stosujemy w nawiasach tylko w klamerkach {FFFFFF}
Podpis
Posiadam konto tylko na GtaOnline
Wysłany: 2012-02-01, 23:35
Damian12
Wiek: 35 Na forum: 5273 dni Posty: 9
Nick w MP: Jack Morrison
warning 206: redundant test: constant expression is non-zero
Co to za warning?
Wysłany: 2012-02-02, 10:15
_Artek_
Zapalisz Jointa?
Wiek: 30 Na forum: 6173 dni Posty: 57
Piwa : 84
Damian12 , Poka? te linijki przez kt?re wyskakuje Ci ten warning
Podpis
Telewizja wmawia wam, że mamy kryzys? Ja wam powiem, że kryzys jest wtedy, gdy Twoja laska mówi ci, że cię kocha, a Tobie nie staje.
Wysłany: 2012-02-05, 10:50
Tymoteor
Wiek: 28 Na forum: 5363 dni Posty: 8
Nick w MP: asdf
Piwa : 4
Mam taki problem:
Kod:
C:\mapa.pwn(2666) : error 017: undefined symbol "SpawnAttempts"
C:\mapa.pwn(2666) : warning 215: expression has no effect
C:\mapa.pwn(2666) : error 001: expected token: ";", but found "]"
C:\mapa.pwn(2666) : error 029: invalid expression, assumed zero
C:\mapa.pwn(2666) : fatal error 107: too many error messages on one line
4 Errors.
Prosz? o pomoc
Wysłany: 2012-02-05, 10:52
_Artek_
Zapalisz Jointa?
Wiek: 30 Na forum: 6173 dni Posty: 57
Piwa : 84
Tymoteor , Jak mamy Ci pom?c skoro nawet nie poda?e? linijki? Podaj linijki 2666 ale widz? ?e pewnie gdzie? si? siek?e? z ';'
Podpis
Telewizja wmawia wam, że mamy kryzys? Ja wam powiem, że kryzys jest wtedy, gdy Twoja laska mówi ci, że cię kocha, a Tobie nie staje.
Wysłany: 2012-02-05, 12:24
Tymoteor
Wiek: 28 Na forum: 5363 dni Posty: 8
Nick w MP: asdf
Piwa : 4
<gafa>,
Ju? podaje:
Kod: SpawnAttempts[playerid] = 0;
Wysłany: 2012-02-05, 12:45
kurczak1324
Wiek: 29 Na forum: 5819 dni Posty: 202
Nick w MP: Izzy
Piwa : 671
Tymoteor , daj linijke przed t? linijk?.
Wysłany: 2012-02-05, 13:29
Tymoteor
Wiek: 28 Na forum: 5363 dni Posty: 8
Nick w MP: asdf
Piwa : 4
Kod:
SetPlayerColor(playerid,COLOR_NOTLOGGED);
SpawnAttempts[playerid] = 0;
Wysłany: 2012-02-05, 13:49
mmarcinn21
Programista
Wiek: 32 Na forum: 6363 dni Posty: 32
Piwa : 727
Dodaj globalnie:
Kod: new SpawnAttempts[MAX_PLAYERS];
Podpis
Posiadam konto tylko na GtaOnline
Wysłany: 2012-02-06, 21:29
MyPawis
Wiek: 28 Na forum: 5237 dni Posty: 5
Nick w MP: Pawis
Siema
Pomocy
Kod:
C:\Documents and Settings\Janusz\Pulpit\PSG\PSG gang war.pwn(91) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\Janusz\Pulpit\PSG\PSG gang war.pwn(91) : warning 215: expression has no effect
C:\Documents and Settings\Janusz\Pulpit\PSG\PSG gang war.pwn(223) : error 017: undefined symbol "GetPVarInt"
C:\Documents and Settings\Janusz\Pulpit\PSG\PSG gang war.pwn(227) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Janusz\Pulpit\PSG\PSG gang war.pwn(227) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\Janusz\Pulpit\PSG\PSG gang war.pwn(227) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Janusz\Pulpit\PSG\PSG gang war.pwn(227) : fatal error 107: too many error messages on one line
Wysłany: 2012-02-06, 21:53
SzoteK
DriftPajace <3
Wiek: 32 Na forum: 5944 dni Posty: 143
Nick w MP: SzoteK
Piwa : 747
MyPawis , szklana kula si? popsu?a
Podaj linijki w kt?rych s? errory..
Podpis
Tu był kot ale zjadł go Snoop Dogg
Wysłany: 2012-02-06, 22:01
MyPawis
Wiek: 28 Na forum: 5237 dni Posty: 5
Nick w MP: Pawis
SzoteK ,
Masz:D
91
Kod:
SendClientMessageToAll,format,msg,(playerid, "Gracz %s wszed? na serwer". BLUE,imiegracza);
223
Kod: if(GetPVarInt(playerid, "AdminLvL",HEAD_ADMIN,ADMIN,MODERATOR),
227
Kod: if(sscanf,params,"us[128]", Gracz, Powod)), return, SendClientMessage(playerid, RED, "wpisz: /kick id powod",
Wysłany: 2012-02-06, 22:40
MicroIce95
Wiek: 43 Na forum: 5236 dni Posty: 1
Nick w MP: Micro
Witam. Podczas konwertowania wyskakuj? takie b??dy:
Kod: C:\Documents and Settings\Rass\Pulpit\moj serwer\pawno\include\morphinc.inc(5) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Documents and Settings\Rass\Pulpit\moj serwer\pawno\include\morphinc.inc(5) : warning 219: local variable "y" shadows a variable at a preceding level
C:\Documents and Settings\Rass\Pulpit\moj serwer\pawno\include\morphinc.inc(5) : warning 219: local variable "z" shadows a variable at a preceding level
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(131) : error 010: invalid function or declaration
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(131) : error 001: expected token: ";", but found "-identifier-"
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2502) : warning 219: local variable "x" shadows a variable at a preceding level
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2619) : error 010: invalid function or declaration
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2624) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2624) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2629) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2629) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2634) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2634) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2639) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2639) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2644) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2644) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2649) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2649) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2669) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2669) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2689) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2689) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2709) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2709) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2729) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2729) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2749) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2749) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2769) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2769) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2789) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2789) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2809) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(2809) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(6093) : error 010: invalid function or declaration
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(6095) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(6095) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(6095) : warning 215: expression has no effect
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(6095) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Rass\Pulpit\Gold-RP v1.1\gamemodes\RP By Kesha Ivan.pwn(6095) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
22 Errors.
131
Kod: forward detonateVehicle(playerid, vehicleid, bowner);
2502
Kod: for(new x=0; x < strlen(string); x++)
2619
Kod: public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
2624
Kod: if (IsACopCar(vehicleid) && !ispassenger)
2629
Kod: if (IsANGCar(vehicleid) && !ispassenger)
2634
Kod: if (IsARzadCar(vehicleid) && !ispassenger)
2639
Kod: if (IsARzadCar2(vehicleid) && !ispassenger)
2644
Kod: if (IsARzadPlane(vehicleid) && !ispassenger)
2649
Kod: if (IsAHACar(vehicleid) && !ispassenger)
2669
Kod: if (IsAHA2Car(vehicleid) && !ispassenger)
2689
Kod: if (IsAHA3Car(vehicleid) && !ispassenger)
2709
Kod: if (IsAHA4Car(vehicleid) && !ispassenger)
2729
Kod: if (IsAHA5Car(vehicleid) && !ispassenger)
2749
Kod: if (IsAHA6Car(vehicleid) && !ispassenger)
2769
Kod: if (IsAHA7Car(vehicleid) && !ispassenger)
2789
Kod: if (IsAHA8Car(vehicleid) && !ispassenger)
2809
Kod: if (IsAnAmbulance(vehicleid) && !ispassenger)
6093
Kod: public OnVehicleMod(vehicleid, componentid)
6095
Kod: if(vehicleid>=298 && vehicleid <=338)
Tu zamieszczam link do mapy: http://www.speedyshare.co...old-RP_v1.1.rar
Prosz? o pomoc. stawiam piwa:D
Wysłany: 2012-02-06, 23:29
kosa031984
Wiek: 46 Na forum: 5590 dni Posty: 1
Nick w MP: Kosa
Witam jestem pocz?tkujacy, mam pewniem problem Posiadam Windows 7 i gdy chc? skomplikowac map? wyskakuje mi b??d ze program Pawn omplier library przesta? dzia?a? i ?e trwa wyszukiwanie b??d?w.
Pr?bowa?em wszystkiego ?ciaga?em nowego pawno, includy mam i nie wiem w czym problem.
Dzi?kuje za pomoc.
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: