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

Wysłany: 2009-05-18, 21:11


Michalec

Dokładnie.






Wiek: 30
Na forum: 6502 dni
Posty: 163
Nick w MP: []Damianos[]

Piwa: 99

Respekt: 86,6

Zr?b tak :
Kod:

SendPlayerFormattedText(playerid,"/hokej",0);


A je?li chcesz napis na inny kolor to :
Kod:

SendClientMessage(playerid,[tu kolor],"/hokej",0);

Je?li chcesz z kolorem to musisz u g?ry skryptu/mapy go zdefiniowa? 8-)

Podpis
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-19, 21:01


oski535

Miszczu RP






Wiek: 31
Na forum: 6642 dni
Posty: 19
Nick w MP: ExTreme

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
Mam taki problem nie moge zrobic animek na AMX

Kod:

C:\Documents and Settings\sylwia341\Pulpit\Oskar\animlistbywoozie.pwn(5381) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
nie wiem o co chodzi

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-19, 21:17


Jimmy J

suy shatan!






Wiek: 32
Na forum: 6700 dni
Posty: 265

Piwa: 3264

Respekt: 54,4

oski535, mo?esz... To jest warning, a warning nie blokuje kompilacji.

Daj na g?r? mapy:
Kod:

#pragma unused ret_memcpy


nie do??czaj do mapy niepotrzebnych includ?w.

Podpis

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

 
Wysłany: 2009-05-19, 21:36


ARO_PL







Wiek: 29
Na forum: 6363 dni
Posty: 18

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
mam pwn mapy drifterskiej i potrzebuje j? przerobic na amx ale wyskakuja mi takie errory

D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(3734) : warning 208: function with tag result used before definition, forcing reparse
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(18) : error 018: initialization data exceeds declared size
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(53) : error 075: input line too long (after substitutions)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(471) : warning 235: public function lacks forward declaration (symbol "IsVehicleInUse")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(483) : warning 235: public function lacks forward declaration (symbol "respawn")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(496) : warning 235: public function lacks forward declaration (symbol "respawnall")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(513) : error 035: argument type mismatch (argument 3)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(606) : warning 235: public function lacks forward declaration (symbol "KickZaPing")
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(635) : error 025: function heading differs from prototype
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(640) : error 025: function heading differs from prototype
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(645) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(652) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(658) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(664) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(672) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(680) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(693) : error 022: must be lvalue (non-constant)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(700) : error 022: must be lvalue (non-constant)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(736) : error 035: argument type mismatch (argument 2)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(737) : error 035: argument type mismatch (argument 2)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(766) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(775) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(789) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(797) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(805) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(816) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(824) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(836) : error 022: must be lvalue (non-constant)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(863) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(871) : error 035: argument type mismatch (argument 1)
D:\Gta San Andreas\GTA San Andreas\LV-XL-DM+MG 9.0.7\PDmap3.pwn(879) : error 035: argument type mismatch (argument 1)

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


26 Errors.



co to moze byc prosze o pomoc

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-19, 21:40


xqz

otaku desu!






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

Piwa: 5465

Respekt: 418,6
Respekt: 418,6

Po 1.

Uzywaj [Code]

Po 2.


Masz gdzies klamry zle. Za duzo lub malo :p

[ Dodano: 2009-05-20, 16:40 ]
Uuuu odrau mowie ze nie usunie sie tych bledow (przynajmniej tak latwo) poniewaz to jest z DeAmx'a wiec wszystko jest pomieszane. Latwiej by bylo od noowa zrobic niz to poprawiac :p

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-21, 15:51


oski535

Miszczu RP






Wiek: 31
Na forum: 6642 dni
Posty: 19
Nick w MP: ExTreme

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
Kod:

:\Documents and Settings\sylwia341\Pulpit\Oskar\gfpl.pwn(9110) : warning 202: number of arguments does not match definition
C:\Documents and Settings\sylwia341\Pulpit\Oskar\gfpl.pwn(9110) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 6424 bytes
Code size: 1179164 bytes
Data size: 2230168 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4904 cells (19616 bytes)
Total requirements: 3432140 bytes

2 Warnings.


Nie wiem jak je wyeliminowa? nie mog? przerobi? mapki na AMX ;(

Postaw piwo autorowi tego posta
 

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


Fire Dragon

c=(b/n)%10+48,n/=10;






Wiek: 32
Na forum: 7104 dni
Posty: 63

Piwa: 1046

Respekt: 50

Poka? linijk? 9110... Kiedy wy si? nauczycie tak robi?....

Podpis
Bardzo chętnie pomagam na GG...
Postaw piwo autorowi tego posta
 

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


oski535

Miszczu RP






Wiek: 31
Na forum: 6642 dni
Posty: 19
Nick w MP: ExTreme

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
Kod:

if(PlayerToPoint(2.0, playerid, -381.2372,-1425.6770,25.8820,278.7948) || PlayerToPoint(2.0, playerid, -355.0565,-1047.1011,59.3622,104.6228))


Podpis
Lubie dżem :eye: [/url]
[color=red]

Nick RP: Steve_McLouis
Nick DM=Escape
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-21, 16:07


Fire Dragon

c=(b/n)%10+48,n/=10;






Wiek: 32
Na forum: 7104 dni
Posty: 63

Piwa: 1046

Respekt: 50

-355.0565, 1047.1011, 59.3622, 104.6228

Poda?e? 4 koordynaty a PlayerToPoint obs?uguje tylko 3 argumenty...

Podpis
Bardzo chętnie pomagam na GG...
Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-21, 16:10


oski535

Miszczu RP






Wiek: 31
Na forum: 6642 dni
Posty: 19
Nick w MP: ExTreme

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
Kod:

C:\Documents and Settings\sylwia341\Pulpit\Oskar\gfpl.pwn(9110) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 6424 bytes
Code size: 1179156 bytes
Data size: 2230168 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4904 cells (19616 bytes)
Total requirements: 3432132 bytes

1 Warning.
i jeszcze jeden zosta?

[ Dodano: 2009-05-21, 16:11 ]
ok juz mam usuno?em jeden koordynat

[ Dodano: 2009-05-21, 21:53 ]
Mam kolejny problem z inn? mapk?:
Kod:

C:\Documents and Settings\sylwia341\Pulpit\Oskar\PAWNO\serwer.pwn(27569) : error 021: symbol already defined: "PlayerToPoint"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Linijka:
27568-public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
27569-{

Wiecie ja zielony w PAWNO jestem i ma?o umiem ;

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-22, 13:46


ARO_PL







Wiek: 29
Na forum: 6363 dni
Posty: 18

Piwa: 2

Respekt: 50

Ostrzeżeń: 20%
siemanko mam pewne b??dy w mapie prosze kogo? o pomoc


D:\Gta San Andreas\GTA San Andreas\GTA San Andreas\lv2m.pwn(1060) : error 017: undefined symbol "str"
D:\Gta San Andreas\GTA San Andreas\GTA San Andreas\lv2m.pwn(1060) : error 017: undefined symbol "str"
D:\Gta San Andreas\GTA San Andreas\GTA San Andreas\lv2m.pwn(1060) : error 029: invalid expression, assumed zero
D:\Gta San Andreas\GTA San Andreas\GTA San Andreas\lv2m.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


4 Errors.

niewiem co to moze byc i czy wog?le istnieje taki includ <str> ??

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-22, 13:48


Jimmy J

suy shatan!






Wiek: 32
Na forum: 6700 dni
Posty: 265

Piwa: 3264

Respekt: 54,4

oski535, masz dwie definicje PlayerToPoint, usu? jedn?.

ARO_PL, to nie b??d includa, tylko kodu mapy... Wklej to nad linijk? z b??dem:
Kod:

new str[128];


Podpis

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

 
Wysłany: 2009-05-23, 17:31


MatiSweet







Wiek: 36
Na forum: 6441 dni
Posty: 2

Piwa: 4

Respekt: 50

Przerabiam BAZE i mam 2 problemy pom??cie


C:\Documents and Settings\Mateusz\Pulpit\BAZA11.pwn(4) : error 001: expected token: ";", but found "public"
C:\Documents and Settings\Mateusz\Pulpit\BAZA11.pwn(78) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


:) :)

Podpis


Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-23, 17:36


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 | .
Cytat:

C:\Documents and Settings\Mateusz\Pulpit\BAZA11.pwn(4) : error 001: expected token: ";", but found "public"

w linijce 3 brakuje ci na koncu ;

"MatiSweet" napisał/a:

C:\Documents and Settings\Mateusz\Pulpit\BAZA11.pwn(78) : warning 209: function "OnPlayerCommandText" should return a value

masz dwa razy onplayercommandtext... jeden skasuj

Podpis

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

Postaw piwo autorowi tego posta
 

 
Wysłany: 2009-05-23, 18:27


Jimmy J

suy shatan!






Wiek: 32
Na forum: 6700 dni
Posty: 265

Piwa: 3264

Respekt: 54,4

"The Psychol" napisał/a:

MatiSweet napisa?/a
C:\Documents and Settings\Mateusz\Pulpit\BAZA11.pwn(78) : warning 209: function OnPlayerCommandText should return a value

masz dwa razy onplayercommandtext... jeden skasuj


Nie. Nie ma returna na ko?cu publica. Jakby mia? 2 razy OnPlayerCommandText, to by?by taki error:
Kod:

error 021: symbol already defined: "OnPlayerCommandText"


[ Komentarz dodany przez: The Psychol: 2009-05-23, 18:41 ]
racja wybacz :*

Podpis

Nie mam stóp...
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