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

Wysłany: 2010-01-16, 12:08


tm2







Wiek: 28
Na forum: 6085 dni
Posty: 4
Nick w MP: Kielson

Piwa: 256

Respekt: 49,5

Ostrzeżeń: 20%
Dobra, wszystko mam, tylko jak teraz komplikuje na .amx to pokazuje si? to:

Kod:

C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(1) : error 010: invalid function or declaration
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(430) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(430) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(432) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(432) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(431) : warning 204: symbol is assigned a value that is never used: "idx"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(606) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(606) : error 033: array must be indexed (variable "cmd")
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(853) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(853) : error 033: array must be indexed (variable "tmp")
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(904) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(904) : error 033: array must be indexed (variable "tmp")
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(950) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(950) : error 033: array must be indexed (variable "tmp")
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(1032) : error 017: undefined symbol "strtok"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(1032) : error 033: array must be indexed (variable "tmp")
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(1060) : error 017: undefined symbol "str"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(1060) : error 017: undefined symbol "str"
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(1060) : error 029: invalid expression, assumed zero
C:\Users\Terg\Documents\Downloads\Mapa by ja\lv2m_bh.pwn(1060) : fatal error 107: too many error messages on one line

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


19 Errors.



Czyta?em i doczyta?em, ?e podobno w nawiasach np. (1060) to znaczy, ?e w tej linijcie jest co? ?le?... Patrzy?em te linijki wszystkie i nie mog? si? dopatrzy? b??d?w. M?g?by kto? pom?c?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-16, 17:31


wojasek







Wiek: 31
Na forum: 6577 dni
Posty: 17

Piwa: 348

Respekt: 50

Ostrzeżeń: 40%
Ta mapka jest 8.AA by luby i sebos chcia?em zmieni? kilka komend, ale widz? ?e nic nie zrobie bez includa. Mo?e kto? posiada ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-17, 01:34


Marihuana

Żyć by umierać :)






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

Piwa: 547

Respekt: 70

gdizes zgubiles
Kod:

tmp = strtok(cmdtext, idx);


i jescze
Kod:

new tmp[256];


w linijce 431 usun t ocale
Kod:

new idx;


i zgubiles gdzies
Kod:

new str[256];


pododawaj se i zobaczymy jakie bledy zostana bo mi sie juz dwoi przed oczami

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-17, 18:47


mike000







Wiek: 32
Na forum: 6168 dni
Posty: 11
Nick w MP: Maniek_

Piwa: 9

Respekt: 50

Zrobi?em sobie komend? na NRG. Pojawi? mi si? ten warring:
Kod:

D:\DOCUME~1\bart\Pulpit\PSS-DM~1\1.x\1.4\PSSGM_DM.pwn(3248) : warning 202: number of arguments does not match definition

Wie kto? co ?le zrobi?em? Linijki:
Kod:

if (strcmp("/nrg", cmdtext, true, 10) == 0)
{
if(GetPlayerMoney(playerid)>=500)
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
CreateVehicle(522,X,Y,Z,1,0,-1,-1, 9999);
GivePlayerMoney(playerid,-500);
SendClientMessage(playerid, COLOR_YELLOW, "* Otrzyma?e? NRG-500!");
return 1;
}
else
{
SendClientMessage(playerid,COLOR_RED,"* Nie masz tyle pieni?dzy");
}
return 1;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-17, 19:53


Marihuana

Żyć by umierać :)






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

Piwa: 547

Respekt: 70

podaj dokladnie ktora to linijka 3248

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-17, 21:07


xqz

otaku desu!






Wiek: 32
Na forum: 6504 dni
Posty: 723
Nick w MP: xqz

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

mike000,

Kod:

CreateVehicle(522,X,Y,Z,0,-1,-1,-1);

ta linijke tak daj..

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-17, 21:22


mike000







Wiek: 32
Na forum: 6168 dni
Posty: 11
Nick w MP: Maniek_

Piwa: 9

Respekt: 50

linijka 3248
Kod:

CreateVehicle(522,X,Y,Z,1,0,-1,-1, 9999);


[ Dodano: 2010-01-18, 15:13 ]
Dzi?ki xqz, dzia?a. jak zwykle piwko dla ciebie :->

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-25, 15:50


Turbo_94







Wiek: 37
Na forum: 6072 dni
Posty: 1

Piwa: 1

Respekt: 50

Ostrzeżeń: 100%
C:\Documents and Settings\Kamil2\Pulpit\PBS_12.pwn(10122) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

public OnPlayerPrivmsg(playerid, recieverid, text[])

Przecie? wszystko jest tutaj ok..Prosz? o jak najszybsz? pomoc.

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
Wysłany: 2010-01-25, 16:18


The Reary







Wiek: 47
Na forum: 6470 dni
Posty: 69
Nick w MP: TheReary

Piwa: 2446

Respekt: 57

Pawn
forward OnPlayerPrivmsg(playeridrecieveridtext[]);


Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
Wysłany: 2010-01-25, 17:51


kaminiak

Były Head Admin Psr24.pl






Wiek: 33
Na forum: 6388 dni
Posty: 46
Nick w MP: [PSR]Kaminiak

Piwa: 47

Respekt: 50

Ostrzeżeń: 20%
Kod:

(2352) : warning 209: function "getCheckpointType" should return a value
(5838) : warning 209: function "getCheckpointType" should return a value
(5872) : warning 209: function "getCheckpointType" should return a value
(5872) : warning 209: function "getCheckpointType" should return a value


Linijka 2352: if(IsPlayerInCheckpoint(playerid) == 0 || getCheckpointType(playerid) != CP_BANK) {
Linijka 5838: switch(getCheckpointType(playerid))
Linijka 5872: if(getCheckpointType(playerid)>= P_OFFSET) {

Prosz? O Pomoc.

Podpis
www.Psr24.pl

91.204.163.105:9390
Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
Wysłany: 2010-01-26, 00:56


hetmane







Wiek: 36
Na forum: 6122 dni
Posty: 3

Piwa: 2

Respekt: 50

Witam mam nast?puj?cy problem kto? wie o co chodzi ?

Kod:

C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(162) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(163) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(164) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(165) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(166) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(167) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(168) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(169) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(170) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(207) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(218) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(229) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(240) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(251) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(262) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(363) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(428) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(493) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(503) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(508) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(513) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(518) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(523) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(528) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(543) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(558) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(612) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(663) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(714) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(751) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(788) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(825) : error 017: undefined symbol "ShowPlayerDialog"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(842) : error 017: undefined symbol "SPECIAL_ACTION_DRINK_BEER"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(855) : error 017: undefined symbol "SPECIAL_ACTION_DRINK_WINE"
C:\Documents and Settings\Chan\Desktop\samp\Servera\Server\pawno\include\zDynInt.inc(868) : error 017: undefined symbol "SPECIAL_ACTION_DRINK_SPRUNK"

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


26 Errors.


Ostatnio zmieniony przez hetmane 2010-01-26, 11:05, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
Wysłany: 2010-01-26, 01:24


The Psychol

Psychol






Wiek: 35
Na forum: 6871 dni
Posty: 2822
Nick w MP: The_Psychol

Piwa: 4390

Respekt: 324
Respekt: 324Respekt: 324Respekt: 324


   Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
hetmane, uzywaj zniacznika [.code] kod [./code]

Brak Ci klamry zamykaj?cej

Podpis

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

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
Wysłany: 2010-01-26, 09:57


Kigam







Wiek: 29
Na forum: 6244 dni
Posty: 25

Piwa: 11

Respekt: 50

"Turbo_94" napisał/a:

C:\Documents and Settings\Kamil2\Pulpit\PBS_12.pwn(10122) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

public OnPlayerPrivmsg(playerid, recieverid, text[])

Przecie? wszystko jest tutaj ok..Prosz? o jak najszybsz? pomoc.

w wersji samp 0.3 ten public zosta? usuni?ty wi?c forward tu nic nie mo?e pom?c. Chyba ,?e dalej u?ywasz samp 0.2 :roll:

Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-26, 11:13


kazik22







Wiek: 32
Na forum: 6119 dni
Posty: 15
Nick w MP: Vino,kazik22

Piwa: 39

Respekt: 52

Witam mam taki problem z moim systemem wypadk?w.
Kod:


C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(287) : error 012: invalid function call, not a valid address
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(287) : warning 215: expression has no effect
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(287) : warning 215: expression has no effect
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(287) : warning 215: expression has no effect
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(287) : warning 215: expression has no effect
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(304) : warning 203: symbol is never used: "IsNumeric"
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(304) : warning 203: symbol is never used: "ReturnUser"
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(304) : warning 203: symbol is never used: "gTeam"
C:\DOCUME~1\Patryk2\MOJEDO~1\OSTATN~1\SKRYPT~1\PLOTEK~1.PWN(304) : warning 203: symbol is never used: "strinqwe"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


Linijka 287
Kod:

ProxDetector(30,playerid,string,COLOR_PURPLE;


Linijka 304 niema takiej wlasnie a linijka 303 to klamra.

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2010-01-26, 11:18


hetmane







Wiek: 36
Na forum: 6122 dni
Posty: 3

Piwa: 2

Respekt: 50

"The Psychol" napisał/a:

hetmane, uzywaj zniacznika [.code] kod [./code]

Brak Ci klamry zamykaj?cej


Wbi?em map? do licznika klamer i wykry? , ?e jest o 2 zamykaj?ce za du?o - usun??em je ale dalej ten sam problem :/

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
fiXlly.
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