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

Wysłany: 2012-02-13, 17:44


GERALT1999







Wiek: 27
Na forum: 5315 dni
Posty: 2
Nick w MP: Szaman



Respekt: 50

Witam,
mam kilka error?w w mapce
Kod:

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


Linijka z kodem
Kod:

DajDoPolicji(playerid)


Prosz? o szybk? pomoc.
Ch?tn? osob? nagrodz? :piwo: :piwo: :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-02-18, 19:35


MoCnY33







Wiek: 33
Na forum: 5276 dni
Posty: 3
Nick w MP: MoCnY33

Piwa: 88

Respekt: 50

Ostrzeżeń: 100%
Hey, dzi? pobra?em map? Hard truck i mam takie errory po naprawie innych! -,-

Kod:

Kod:

C:\Users\Patryk\Desktop\truck2.pwn(3495) : error 029: invalid expression, assumed zero
C:\Users\Patryk\Desktop\truck2.pwn(3495) : error 004: function "OnPlayerCommandReceived" is not implemented
C:\Users\Patryk\Desktop\truck2.pwn(3500) : error 079: inconsistent return types (array & non-array)
C:\Users\Patryk\Desktop\truck2.pwn(3505) : error 079: inconsistent return types (array & non-array)
C:\Users\Patryk\Desktop\truck2.pwn(3525) : error 079: inconsistent return types (array & non-array)
C:\Users\Patryk\Desktop\truck2.pwn(3528) : warning 225: unreachable code
C:\Users\Patryk\Desktop\truck2.pwn(3528) : error 029: invalid expression, assumed zero
C:\Users\Patryk\Desktop\truck2.pwn(3528) : error 004: function "OnPlayerCommandPerformed" is not implemented
C:\Users\Patryk\Desktop\truck2.pwn(3530) : error 017: undefined symbol "success"
C:\Users\Patryk\Desktop\truck2.pwn(3532) : error 017: undefined symbol "cmdtext"
C:\Users\Patryk\Desktop\truck2.pwn(3537) : error 017: undefined symbol "cmdtext"
C:\Users\Patryk\Desktop\truck2.pwn(3540) : error 079: inconsistent return types (array & non-array)
C:\Users\Patryk\Desktop\truck2.pwn(3542) : warning 225: unreachable code
C:\Users\Patryk\Desktop\truck2.pwn(3542) : error 029: invalid expression, assumed zero
C:\Users\Patryk\Desktop\truck2.pwn(3542) : error 017: undefined symbol "cmd_cmd"
C:\Users\Patryk\Desktop\truck2.pwn(3542) : error 029: invalid expression, assumed zero
C:\Users\Patryk\Desktop\truck2.pwn(3542) : fatal error 107: too many error messages on one line

Compilation gtaonline compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


15 Errors.


[ Dodano: 2012-02-18, 20:04 ]
naprawi?em tamte i zosta?o mi tylko to! -,-

Kod:

C:\Users\Patryk\Desktop\truck2.pwn(3495) : error 029: invalid expression, assumed zero
C:\Users\Patryk\Desktop\truck2.pwn(3495) : error 004: function "OnPlayerCommandReceived" is not implemented
C:\Users\Patryk\Desktop\truck2.pwn(3495) : error 029: invalid expression, assumed zero
C:\Users\Patryk\Desktop\truck2.pwn(3495) : fatal error 107: too many error messages on one line



Linijka ;D
Kod:

public OnPlayerCommandReceived(playerid, [])


Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-02-22, 11:58


Fimszon







Wiek: 34
Na forum: 5217 dni
Posty: 4
Nick w MP: Fimszon



Respekt: 50

Mam taki b?ad

Kod:

C:\DOCUME~1\ADMINI~1\Pulpit\Polsih_Truck.pwn(4) : fatal error 100: cannot read from file: "sscanf2"

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


1 Error.

a plik to:
http://www.przeklej.pl/pl...wn-0044hlcmg40i

Prosz? o szybka pomoc i z g?ry dzi?ki

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-02-22, 13:58


MG303







Wiek: 30
Na forum: 6418 dni
Posty: 654

Piwa: 2990

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

Nie masz include sscanf2, oraz zapewne plugina sscanf ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-02-22, 16:20


Fimszon







Wiek: 34
Na forum: 5217 dni
Posty: 4
Nick w MP: Fimszon



Respekt: 50

ale ten b?ad przy komplikacji

[ Dodano: 2012-02-22, 16:34 ]
teraz mam taki b?ad:
Kod:

C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(461) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(461) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(467) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(468) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(469) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(470) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(471) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(472) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(473) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(474) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(475) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(476) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(477) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(478) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(479) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(480) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(481) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(482) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(483) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(484) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(485) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(486) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(487) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(488) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(489) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(490) : error 017: undefined symbol "MAPICON_GLOBAL"

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


26 Errors.


[ Dodano: 2012-02-22, 18:34 ]
Kod:

{
SetPlayerMapIcon(playerid,1, 1665.2922,1635.2727,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,2, 1503.5365,2003.8268,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,3, 2259.1106,2763.4653,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,4, 2820.6353,2607.4871,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,5, 2467.7085,1935.9747,9.8538, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,6, 2467.4355,1352.6040,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,7, 2706.3132,832.3109,9.9642, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,8, 977.0394,2099.2478,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,9, 1051.5962,2090.1448,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,10, 927.9244,1883.3849,10.8203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,11, -519.9203,2593.5996,53.4141, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,12, -1300.0861,2508.2043,86.9955, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,13, -1664.6746,2495.2761,86.9930, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,14, -2464.4612,2224.5181,4.8438, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,15, -2983.1311,467.3322,4.9141, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,16, -2516.8870,-611.7112,132.5625, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,17, -2170.5315,-210.8790,35.3203, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,18, -2087.9888,215.8056,35.2044, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,19, -1864.0443,1416.9528,7.1875, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,20, -1736.9020,160.8835,3.5547, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,21, -1708.5416,8.9223,3.5547, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,22, -1880.2385,-201.1936,16.8726, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,23, 590.3723,856.7653,-42.8861, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,24, 595.9999,1223.9198,11.7188, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,25, 3359.2051,-1990.6041,11.1380, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,26, 2778.5437,-2417.4377,13.6359, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,27, 2509.9294,-1686.8672,13.5683, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,28, 2206.6184,-2297.5967,14.7647, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,29, 2069.1472,-2211.2671,13.5469, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,30, 887.2156,-1257.8582,14.9508, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,31, -65.9310,-1120.1133,1.0781, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,32, -364.0650,-1036.4644,59.4413, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,33, -1913.5770,-1673.5199,23.0156, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,34, -2038.8545,-2385.0942,30.6250, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,35, -2255.2939,-1709.0868,479.8954, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,36, -2762.4033,-286.1365,7.0391, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,37, -887.5579,1521.2563,25.9141, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,38, -289.2943,1529.9454,75.3594, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,39, -721.2564,2323.0215,127.1069, 51, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid,40, -1417.0120,-1466.3787,101.6376, 51, 0, MAPICON_GLOBAL);
JestIkona[playerid] = 1;


to linijka a zosta?y mi b?edy:

Kod:

C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(467) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(468) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(469) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(470) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(471) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(472) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(473) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(474) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(475) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(476) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(477) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(478) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(479) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(480) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(481) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(482) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(483) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(484) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(485) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(486) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(487) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(488) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(489) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(490) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(491) : error 017: undefined symbol "MAPICON_GLOBAL"
C:\Documents and Settings\Administrator\Pulpit\Polsih_Truck.pwn(492) : error 017: undefined symbol "MAPICON_GLOBAL"


[ Dodano: 2012-02-22, 18:38 ]
wgra?em wszystkie jakie znalaz?em include mo?e mi ktos to zrobi bo ja juz nie moge link do pwn http://www.przeklej.pl/pl...wn-0044hlcmg40i

Dla osoby ktora naprawi stawiam :piwo: :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-02-22, 20:18


DumpeR







Wiek: 30
Na forum: 5330 dni
Posty: 171
Nick w MP: dumpeer

Piwa: 1026

Respekt: 48,3

Musisz to zdefiniowa?.
przy pomocy:
Kod:


#define Nazwa Wartosc

Np.
Kod:


#define Czerwony 0xFF0000FF


Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-03-03, 19:14


piokur99







Wiek: 26
Na forum: 5206 dni
Posty: 51
Nick w MP: piokur9

Piwa: 12

Respekt: 37

Witam mam errory w gm :(

Kod:

D:\Mapa\gamemodes\pp.pwn(1077) : error 003: declaration of a local variable must appear in a compound block
D:\Mapa\gamemodes\pp.pwn(1078) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1081) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1093) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1094) : error 021: symbol already defined: "dini_Create"
D:\Mapa\gamemodes\pp.pwn(1096) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1097) : error 021: symbol already defined: "dini_Create"
D:\Mapa\gamemodes\pp.pwn(1099) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1100) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1103) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1104) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1107) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1108) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1111) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1112) : error 010: invalid function or declaration
D:\Mapa\gamemodes\pp.pwn(1115) : error 021: symbol already defined: "CreatePickup"
D:\Mapa\gamemodes\pp.pwn(1144) : error 021: symbol already defined: "AddStaticVehicle"
D:\Mapa\gamemodes\pp.pwn(2636) : error 021: symbol already defined: "CreateDynamicObject"
D:\Mapa\gamemodes\pp.pwn(2907) : error 021: symbol already defined: "CreateDynamicObject"
D:\Mapa\gamemodes\pp.pwn(3001) : error 021: symbol already defined: "CreateDynamicObject"
D:\Mapa\gamemodes\pp.pwn(3412) : error 021: symbol already defined: "CreateDynamicObject"
D:\Mapa\gamemodes\pp.pwn(3553) : error 021: symbol already defined: "CreateStreamedObject"
D:\Mapa\gamemodes\pp.pwn(3732) : error 021: symbol already defined: "CreateStreamedObject"
D:\Mapa\gamemodes\pp.pwn(3875) : error 021: symbol already defined: "CreateStreamedObject"
D:\Mapa\gamemodes\pp.pwn(4040) : error 021: symbol already defined: "CreateStreamedObject"
D:\Mapa\gamemodes\pp.pwn(4608) : error 021: symbol already defined: "CreateStreamedObject"

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


26 Errors.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-03-03, 20:12


relisis1







Wiek: 42
Na forum: 5879 dni
Posty: 40

Piwa: 771

Respekt: 50

Ostrzeżeń: 20%
Witam. Przy konwertowaniu mam warringi, kt?re powoduj? mi prawdopodobnie wy??czenie si? serwera. Pomo?e kto? mi rozwi?za? problem?


Kod:

C:\Users\pc\Desktop\g-rp.pwn(23871) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\pc\Desktop\g-rp.pwn(15038) : warning 202: number of arguments does not match definition
C:\Users\pc\Desktop\g-rp.pwn(15038) : warning 202: number of arguments does not match definition
C:\Users\pc\Desktop\g-rp.pwn(15038) : warning 202: number of arguments does not match definition
C:\Users\pc\Desktop\g-rp.pwn(18772) : warning 217: loose indentation
C:\Users\pc\Desktop\g-rp.pwn(25744) : warning 213: tag mismatch
C:\Users\pc\Desktop\g-rp.pwn(25756) : warning 213: tag mismatch
C:\Users\pc\Desktop\g-rp.pwn(25762) : warning 203: symbol is never used: "HighestID"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 11972 bytes
Code size: 1121244 bytes
Data size: 7026432 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 8176032 bytes

8 Warnings.



A mianowicie, linijeczki:


23871:


Kod:

stock Float:GetVehicleSpeed(vehicleid,UseMPH = 0)



15038:


Kod:

if(!IsVehicleOwner(playerid, uid)) ShowPlayerDialog(playerid, DIALOG_INFO, DIALOG_STYLE_MSGBOX, "Zarz?dzanie pojazdem >> B??d", "Nie jeste? w?a?cicielem tego pojazdu");



18772:


Kod:

if(speed > 400)



25744


Kod:

GetVehiclePos(GetPlayerVehicleID(i), x, y, PlayerInfo[i][NewZSpeed]);



25756


Kod:

GetVehiclePos(GetPlayerVehicleID(i), x, y, PlayerInfo[i][OldZSpeed]);



25762

brak

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-03-07, 15:26


MyPawis







Wiek: 28
Na forum: 5237 dni
Posty: 5
Nick w MP: Pawis



Respekt: 50

Pomoze ktos?
Kod:

C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(661) : error 017: undefined symbol "DestACOn"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1025) : error 017: undefined symbol "DestACOff"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1061) : error 017: undefined symbol "dDodajHP"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1062) : error 017: undefined symbol "dWyswietlHP"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1157) : error 017: undefined symbol "dUstawHP"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1381) : error 017: undefined symbol "dUstawHP"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1382) : error 017: undefined symbol "dUstawArmor"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1421) : error 017: undefined symbol "dUstawArmor"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(1626) : error 017: undefined symbol "dDodajKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(2322) : error 017: undefined symbol "dDodajKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(3322) : error 017: undefined symbol "dUstawKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(3326) : error 017: undefined symbol "dDodajKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(3392) : error 017: undefined symbol "dUstawKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(3411) : error 017: undefined symbol "dWyswietlKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(3802) : error 017: undefined symbol "dDodajKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(3839) : error 017: undefined symbol "dCzyMaKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(3844) : error 017: undefined symbol "dDodajKase"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(4344) : error 017: undefined symbol "dKasa"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(4344) : warning 215: expression has no effect
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(4344) : error 001: expected token: ";", but found "]"
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(4344) : error 029: invalid expression, assumed zero
C:\Users\Pawis\Desktop\HardTruckmap v1.3 - server\gamemodes\truck2.pwn(4344) : fatal error 107: too many error messages on one line

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


21 Errors.


Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-03-08, 23:01


MaciekJRPL







Wiek: 33
Na forum: 5211 dni
Posty: 3



Respekt: 50

Pom??cie a ja mam taki Error
Kod:

C:\Documents and Settings\macias\Pulpit\fajneobiekty.pwn(4678) : error 030: compound statement not closed at the end of file (started at line 4678)
A ja nawet niemam 4678.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-03-16, 20:54


GT500







Wiek: 31
Na forum: 5654 dni
Posty: 5
Nick w MP: GT500



Respekt: 50

Siema mam pewien problem
Ot?? stworzy?em Timer kt?ry wygl?da tak
Kod:

SetTimer("LAB2", 30000, 0);


Nast?pnie utworzy?em Forward i Public w kt?rym da?em te oto funkcje
Kod:

forward LAB2();
public LAB2()
{
SendClientMessageToAll(COLOR_RED, "{228B22}Labirynt{ECAB53} zosta? zako?czony!");
SetPlayerPos(i,2029.3137,1007.3817,10.8203);
return 1;
}

A b??d jest nast?puj?cy
Kod:

error 017: undefined symbol "i"

Linijka
Kod:

SetPlayerPos(i,2029.3137,1007.3817,10.8203);

Prosze o Pomoc dam Zimne :piwo:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-03-19, 18:51


piokur99







Wiek: 26
Na forum: 5206 dni
Posty: 51
Nick w MP: piokur9

Piwa: 12

Respekt: 37

Jedna ma?a sprawa na pocz?tek prosz? nie pisa?, ?e idzie przerobi? na amx bo idzie ale bu?niej s? b??dy a ja ich nie chce bo mapka nie jest przerabiana tylko troch? sam pisa?em a czego nie umiea?em to skleja?em z innych gm :D

No wi?c waringi:
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(910) : warning 217: loose indentation
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(922) : warning 217: loose indentation
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(1090) : warning 217: loose indentation
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(1119) : warning 217: loose indentation
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(1152) : warning 217: loose indentation
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(1180) : warning 217: loose indentation
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(1613) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(6138) : warning 203: symbol is never used: "AlreadyDoubleHopped"
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(6138) : warning 203: symbol is never used: "CheckIfLanded"
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(6138) : warning 203: symbol is never used: "InAir"
C:\Documents and Settings\Piokur9\Moje dokumenty\Pobieranie\PF.pwn(6138) : warning 203: symbol is never used: "ZWasZeroAtLastCheck"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


11 Warnings.

[ Dodano: 2012-04-05, 20:25 ]
C:\Users\Piokur9\Desktop\Mapa PF\Gamemodes\polskifreeroam.pwn(385) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-04-06, 16:09


B!4CK

Never give UP!






Wiek: 32
Na forum: 5809 dni
Posty: 1047
Nick w MP: John

Piwa: 1891

Respekt: 124,2
Respekt: 124,2

Kod PAWN :
Kod:

CMD:sluzba(playerid, cmdtext[])
{
if(!PlayerInfo[playerid][pFrakcja] && !GetPVarInt(playerid, "sluzba")) return GuiInfo(playerid,"Nie jeste? zatrudniony w ?adnej frakcji.");

new nick[MAX_PLAYER_NAME], str[64];
GetPlayerName(playerid, nick, MAX_PLAYER_NAME);
if(GetPVarInt(playerid, "sluzba") == 1)
{
format(str, sizeof(str), "%s (%d)", NickCzat(playerid), playerid);
SetPVarInt(playerid, "sluzba", 0);
Update3DTextLabelText(NICK[playerid], KOLOR_BIALY, NickWys(playerid));
}
{
GuiInfo(playerid, "Opu?ci?e? s?u?b? frakcji.");
}
else if(GetPVarInt(playerid, "sluzba") == 0)
{
SetPVarInt(playerid, "sluzba", 1);
if(PlayerInfo[playerid][pFrakcja] == 3)
{
format(str, sizeof(str), "%s (%d)\n[RZAD]", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_ZIELONY, NickWys(playerid));
}
if(PlayerInfo[playerid][pFrakcja] == 2)
{
format(str, sizeof(str), "%s (%d)\n[CRASH]", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_SAPD, NickWys(playerid));
}
if(PlayerInfo[playerid][pFrakcja] == 4)
{
format(str, sizeof(str), "%s (%d)\n[SAMC]", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_CZERWONY, NickWys(playerid));
}
if(PlayerInfo[playerid][pFrakcja] == 1)
{
format(str, sizeof(str), "%s (%d)\n[SN]", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_MAPA, NickWys(playerid));
}
//PRZERWA - MUSKULARNY
if(PlayerInfo[playerid][pFrakcja] == 2 && PlayerInfo[playerid][pSila]>3100)
{
format(str, sizeof(str), "%s (%d)\n[CRASH]\n(muskularny)", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_SAPD, NickWys(playerid));
}
if(PlayerInfo[playerid][pFrakcja] == 4 && PlayerInfo[playerid][pSila]>3100)
{
format(str, sizeof(str), "%s (%d)\n[SAMC]\n(muskularny)", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_CZERWONY, NickWys(playerid));
}
if(PlayerInfo[playerid][pFrakcja] == 1 && PlayerInfo[playerid][pSila]>3100)
{
format(str, sizeof(str), "%s (%d)\n[SN]\n(muskularny)", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_MAPA, NickWys(playerid));
}
//PRZERWA- REKAWICE
if(PlayerInfo[playerid][pFrakcja] == 2 && PlayerInfo[playerid][pSila]>3100 && GetPVarInt(playerid, "rekawice") == 1)
{
format(str, sizeof(str), "%s (%d)\n[CRASH]\n(muskularny, rekawice)", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_SAPD, NickWys(playerid));
}
if(PlayerInfo[playerid][pFrakcja] == 4 && PlayerInfo[playerid][pSila]>3100)
{
format(str, sizeof(str), "%s (%d)\n[SAMC]\n(muskularny, rekawice)", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_CZERWONY, NickWys(playerid));
}
if(PlayerInfo[playerid][pFrakcja] == 1 && PlayerInfo[playerid][pSila]>3100)
{
format(str, sizeof(str), "%s (%d)\n[SN]\n(muskularny, rekawice)", NickCzat(playerid), playerid);
Update3DTextLabelText(NICK[playerid], KOLOR_MAPA, NickWys(playerid));
}

GuiInfo(playerid, "Wszed?e? na s?u?b? frakcji.");
}
return 1;
}


Linijki z errorami :
Kod:

Update3DTextLabelText(NICK[playerid], KOLOR_BIALY, NickWys(playerid));




B??dy :
Kod:

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


Podpis
Cześć
! :)


Projekt, który poruszy scenę platformy SA:MP!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-04-09, 21:51


visaaa







Wiek: 49
Na forum: 5170 dni
Posty: 26
Nick w MP: Jony_Lee



Respekt: 50

Kod:

C:\Documents and Settings\Michal\Pulpit\gf.pwn(162) : error 001: expected token: ";", but found "forward"

162: forward BroadCast(color,const string[]);

Kod:

C:\Documents and Settings\Michal\Pulpit\gf.pwn(24330) : error 012: invalid function call, not a valid address

24330: NameTimer();

Kod:

C:\Documents and Settings\Michal\Pulpit\gf.pwn(24330) : error 029: invalid expression, assumed zero

24330: NameTimer();

Kod:

C:\Documents and Settings\Michal\Pulpit\gf.pwn(24330) : warning 215: expression has no effect

24330: NameTimer();

Kod:

C:\Documents and Settings\Michal\Pulpit\gf.pwn(25768) : error 025: function heading differs from prototype

25768: public OnPlayerPrivmsg(playerid, recieverid, text[])

Kod:

C:\Documents and Settings\Michal\Pulpit\gf.pwn(25819) : warning 203: symbol is never used: "NameTimer"

25819: nie ma tylu linijek

Prosz? o dok?adne wyt?umaczenie, poniewa? dopiero si? ucz? ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2012-04-11, 17:28


piokur99







Wiek: 26
Na forum: 5206 dni
Posty: 51
Nick w MP: piokur9

Piwa: 12

Respekt: 37

Kod:

C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(961) : warning 219: local variable "Z" shadows a variable at a preceding level
C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(962) : warning 219: local variable "X" shadows a variable at a preceding level
C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(963) : warning 219: local variable "Y" shadows a variable at a preceding level
C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(1187) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(1187) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(1187) : warning 215: expression has no effect
C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(1187) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Monika.KOMPUTER.016\Pulpit\new.pwn(1187) : 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.


961
Kod:

new Float:Z;

962
Kod:

new Float:X;

963
Kod:

new Float:Y;

1187
Kod:

if(strcmp(TEXT[playerid],text,false)==0 && strlen(TEXT[playerid]))


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