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

Wysłany: 2009-06-21, 10:02


Ray12







Wiek: 30
Na forum: 6737 dni
Posty: 21
Nick w MP: Ray.RTRT

Piwa: 4264

Respekt: 50

Mog? da? ale tylko na PW

Naprawi?em ju? :)

Ostatnio zmieniony przez Ray12 2009-06-21, 19:15, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-21, 16:04


kaminiak

Były Head Admin Psr24.pl






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

Piwa: 47

Respekt: 50

Ostrzeżeń: 20%
Prosz? o pomoc:
Warningi:
Kod:

E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(25249) : warning 202: number of arguments does not match definition
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(25250) : warning 202: number of arguments does not match definition
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(25251) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.

Linijki:
Kod:

forward Broniea();
public Broniea()
{
SetPlayerHealth(99);
SetPlayerArmour(99);
GivePlayerMoney(100000);

SendClientMessageToAll(COLOR_RED, "Wszyscy Dostali ?ycie, Pancerz, Pieni?dze (100.000$).");
return 1;
}


Podpis
www.Psr24.pl

91.204.163.105:9390
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-21, 16:06


AdiX







Wiek: 31
Na forum: 6898 dni
Posty: 100

Piwa: 932

Respekt: 50

Kod:

forward Broniea();
public Broniea()
{
for(new i = 0; i < GetMaxPlayers(); i++)
{
SetPlayerHealth(i, 99);
SetPlayerArmour(i, 99);
GivePlayerMoney(i, 100000);

SendClientMessageToAll(COLOR_RED, "Wszyscy Dostali ?ycie, Pancerz, Pieni?dze (100.000$).");
}
return 1;
}


Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-21, 20:39


kaminiak

Były Head Admin Psr24.pl






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

Piwa: 47

Respekt: 50

Ostrzeżeń: 20%
Kod:

E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(12783) : error 017: undefined symbol "name"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(12783) : error 017: undefined symbol "name"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(12783) : error 029: invalid expression, assumed zero
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(12783) : 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.


Linijki:

Kod:

if (strcmp(cmdtext, "/policjant", true)==0)
{
new name[24];
for(new i=0; i<MAX_PLAYERS; i++)
if(IsPlayerConnected(i))
SetPlayerSkin(playerid, 280);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3,1);
GivePlayerWeapon(playerid, 24,500);
SetPlayerHealth(playerid, 100);
SetPlayerPos(playerid, 2293.4147,2450.6450,10.8203);
GetPlayerName(playerid,name, sizeof(name));
format(string, sizeof(string), "Gracz %s postanowi? zatrudni? si? jako Policjant",name);
SendClientMessageToAll(ZIELONY,string);
SendClientMessage(playerid,CZERWONY, "Aby ujrze? list? komend Policjana wpisz /policjantcmd => (Prawdziwi Pracownicy znaj? komendy)" );
return 1;
}
//--------------------------------------------------------------------------------------------
if (strcmp(cmdtext, "/zpolicjant", true)==0)
{
new skin = GetPlayerSkin(playerid);
if (skin == 280)
{
for(new i=0; i<MAX_PLAYERS; i++)
if(IsPlayerConnected(i))
SetPlayerSkin(playerid, 2);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid,name, sizeof(name));
format(string, sizeof(string), "Gracz %s zrezygnowa? z pracy Policjanta",name);
SendClientMessageToAll(ZIELONY,string);
SetPlayerPos(playerid, 2022.2957,1343.1074,10.8129);
ResetPlayerWeapons(playerid);
gTeam[playerid] = TEAM_CYWIL;
}
return 1;
}


Podpis
www.Psr24.pl

91.204.163.105:9390
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-21, 21:20


Jimmy J

suy shatan!






Wiek: 32
Na forum: 6700 dni
Posty: 265

Piwa: 3264

Respekt: 54,4

Kod:

new name[MAX_PLAYER_NAME];


Nad linijk? z b??dem.

Podpis

Nie mam stóp...
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-21, 22:32


kaminiak

Były Head Admin Psr24.pl






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

Piwa: 47

Respekt: 50

Ostrzeżeń: 20%
Kod:

E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(13038) : warning 204: symbol is assigned a value that is never used: "name"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(13068) : warning 204: symbol is assigned a value that is never used: "name"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(13174) : warning 204: symbol is assigned a value that is never used: "name"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(13204) : warning 204: symbol is assigned a value that is never used: "name"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(26056) : error 017: undefined symbol "sendername"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(26056) : error 017: undefined symbol "sendername"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(26056) : error 029: invalid expression, assumed zero
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\mapa.pwn(26056) : 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.


Kod:

if(AdminsCommands(playerid,cmdtext))return 1;
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string,sizeof(string),"Graczu: %s (ID: %d) Nie Ma Komendy o Nazwie: ( %s ), Zapoznaj Si? z: /pomoc /cmd /reg /tele /new",sendername, playerid, cmdtext);
return SendClientMessage(playerid,0x66778899, string);}

Kod:


Linijka <>13038:
if (IsPlayerConnected(giveplayerid)) {
new name[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));


[ Dodano: 2009-06-21, 23:48 ]
Kod:

E:\Documents and Settings\User\Pulpit\UPPED ZIOM!!!!!!\PAWNO BY UPPED\include\dutils.inc(404) : error 017: undefined symbol "ret_memcpy"
E:\Documents and Settings\User\Pulpit\UPPED ZIOM!!!!!!\PAWNO BY UPPED\include\dutils.inc(406) : error 017: undefined symbol "ret_memcpy"
E:\Documents and Settings\User\Pulpit\UPPED ZIOM!!!!!!\PAWNO BY UPPED\include\dini.inc(49) : error 017: undefined symbol "ret_memcpy"
E:\Documents and Settings\User\Pulpit\UPPED ZIOM!!!!!!\PAWNO BY UPPED\include\dini.inc(59) : error 017: undefined symbol "ret_memcpy"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(2309) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(2309) : error 033: array must be indexed (variable "cmd")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(2998) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(2998) : error 033: array must be indexed (variable "nicks")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3004) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3004) : error 033: array must be indexed (variable "newpasswd")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3075) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3086) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3086) : error 033: array must be indexed (variable "idstr")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3111) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3111) : error 033: array must be indexed (variable "tmp2")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3150) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3150) : error 033: array must be indexed (variable "idstr")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3226) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3226) : error 033: array must be indexed (variable "idstr")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3303) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3303) : error 033: array must be indexed (variable "tmp2")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3315) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3315) : error 033: array must be indexed (variable "tmp2")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3331) : error 017: undefined symbol "strtok"
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3331) : error 033: array must be indexed (variable "tmp2")
E:\Documents and Settings\User\Pulpit\ALL SAMP\test\8028end.pwn(3336) : error 017: undefined symbol "strtok"

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


26 Errors.


Podpis
www.Psr24.pl

91.204.163.105:9390
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-22, 00:19


Pudi

KoLeJoRz FaN






Wiek: 31
Na forum: 6874 dni
Posty: 12

Piwa: 507

Respekt: 50

Kod:

C:\DOCUME~1\Ad@m\MOJEDO~1\mapa.pwn(1053) : error 012: invalid function call, not a valid address
C:\DOCUME~1\Ad@m\MOJEDO~1\mapa.pwn(1053) : error 017: undefined symbol "blacklist"
C:\DOCUME~1\Ad@m\MOJEDO~1\mapa.pwn(1053) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Ad@m\MOJEDO~1\mapa.pwn(1053) : fatal error 107: too many error messages on one line


Podpis
Pomogłem ?? Nie dzienkuj Postaw

Nie Pomagam Na PM i Na gg POzdro
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-22, 13:53


xqz

otaku desu!






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

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Pudi, linijki daj ;...

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-22, 21:46


zulek[PL]







Wiek: 36
Na forum: 6782 dni
Posty: 39

Piwa: 560

Respekt: 60

Siema wam

To nie b?dzie b??d jakiej? mapy tylko og?lny jak chce przerobi? z PWN na amx na ka?dej map? mam tak? co? ... a wiem w 100% ze to nie wina mapy lub map.

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

Usage: pawncc <filename> [filename...] [options]

Options:
-A<num> alignment in bytes of the data segment and the stack
-a output assembler code
-C[+/-] compact encoding for output file (default=+)
-c<name> codepage name or number; e.g. 1252 for Windows Latin-1
-Dpath active directory path
-d<num> debugging level (default=-d1)
0 no symbolic information, no run-time checks
1 run-time checks, no symbolic information
2 full debug information and dynamic checking
3 same as -d2, but implies -O0
-e<name> set name of error file (quiet compile)
-H<hwnd> window handle to send a notification message on finish
-i<name> path for include files
-l create list file (preprocess only)
-o<name> set base name of (P-code) output file
-O<num> optimization level (default=-O1)
0 no optimization
1 JIT-compatible optimizations only
2 full optimizations
-p<name> set name of "prefix" file
-r[name] write cross reference report to console or to specified file
-S<num> stack/heap size in cells (default=4096)
-s<num> skip lines from the input file
-t<num> TAB indent size (in character positions, default=8)
-v<num> verbosity level; 0=quiet, 1=normal, 2=verbose (default=1)
-w<num> disable a specific warning by its number
-X<num> abstract machine size limit in bytes
-XD<num> abstract machine data/stack size limit in bytes
-\ use '\' for escape characters
-^ use '^' for escape characters
-;[+/-] require a semicolon to end each statement (default=+)
-([+/-] require parantheses for function invocation (default=+)
sym=val define constant "sym" with value "val"
sym= define constant "sym" with value 0

Options may start with a dash or a slash; the options "-d0" and "/d0" are
equivalent.

Options with a value may optionally separate the value from the option letter
with a colon (":") or an equal sign ("="). That is, the options "-d0", "-d=0"
and "-d:0" are all equivalent.

Podpis
Lubie podkręcać ludzi w samp.
A ich ego wtedy spada do dna
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-23, 10:28


AdiX







Wiek: 31
Na forum: 6898 dni
Posty: 100

Piwa: 932

Respekt: 50

zulek[PL],

U?yj programu Pawno, a nie jaki? innych bezsensownych :huh:

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-24, 16:36


Kanye_Leckson







Wiek: 35
Na forum: 6363 dni
Posty: 6



Respekt: 50

Bardzo prosz? o pomoc.

Warning:

Cytat:

C:\X\X\X\X.pwn(6136) : warning 204: symbol is assigned a value that is never used: "carkey"


Linijka:

Cytat:

new carkey = PlayerInfo[targetid][pPcarkey];


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-24, 16:45


Jimmy J

suy shatan!






Wiek: 32
Na forum: 6700 dni
Posty: 265

Piwa: 3264

Respekt: 54,4

Usu? t? definicj?.

Podpis

Nie mam stóp...
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-24, 17:51


zulek[PL]







Wiek: 36
Na forum: 6782 dni
Posty: 39

Piwa: 560

Respekt: 60

"AdiX" napisał/a:

zulek[PL],

U?yj programu Pawno, a nie jaki? innych bezsensownych :huh:



Daj mi linka dam piwo jak b?dzie dzia?a? pwno mi

Podpis
Lubie podkręcać ludzi w samp.
A ich ego wtedy spada do dna
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-24, 19:17


xqz

otaku desu!






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

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

zulek[PL], przeciez jest nawet w tym samym dziale...

http://gtaonline.pl/viewtopic.php?t=14152

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-06-25, 10:39


Dominik354657







Wiek: 41
Na forum: 6325 dni
Posty: 19



Respekt: 50

Wyskakuja mi takie errory:C:\DOCUME~1\MICHA~1\Pulpit\BLEBLE~1\pawno\new.pwn(13) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\BLEBLE~1\pawno\new.pwn(17) : error 010: invalid function or declaration

Kod:

}
if (strcmp("/czerwony", cmdtext, true,) 10 == 1) &&
IsPlayerAdmin(playerid));
{
SetPlayerColor(playerid,0xFF0000AA);
return 0;
}

co tu jest nie tak to ja niewiem dziwne :evil:


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