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

Wysłany: 2008-11-09, 12:12


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6804 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
MicH97PL, daj mi to na PM ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-09, 12:33


Emilian49







Wiek: 35
Na forum: 6649 dni
Posty: 18

Piwa: 1

Respekt: 50

Witam mam du?y praoblem od kilkunastu dni pr?buje naprawi? ten b??d ale mam z tym niez?y problem.Niby 1 niezamkni?ta klamra a narobi tye k?opot?w.
U?ywa?em ju? nawet skryptu Roberta ale nic...

Prosz? kogo? o pomoc.

Kod:


G:\SAMP\scriptfiles\klamry.pwn(1858) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1863) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1868) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1873) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1878) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1883) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1888) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1893) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1898) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1903) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1908) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1913) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1918) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1923) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1928) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1933) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1938) : error 004: function "ProxDetector" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1955) : error 004: function "PlayerToPoint" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1958) : error 004: function "ABroadCast" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1973) : error 004: function "PlayerToPoint" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1976) : error 004: function "ABroadCast" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1979) : error 035: argument type mismatch (argument 2)
G:\SAMP\scriptfiles\klamry.pwn(1990) : error 004: function "PlayerToPoint" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(1993) : error 004: function "ABroadCast" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(2007) : error 004: function "PlayerToPoint" is not implemented
G:\SAMP\scriptfiles\klamry.pwn(2010) : error 004: function "ABroadCast" is not implemented

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


26 Errors.


POni?ej linijki z okolic b??du

[ Dodano: 2008-11-09, 12:37 ]
if(starabron[i]==GetPlayerWeapon(i)){}else{

GetPlayerName(i, sendername, sizeof(sendername));

if(GetPlayerWeapon(i)==0){
format(string, sizeof(string), "* %s chowa bro?.", sendername);
ProxDetector(10.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(GetPlayerWeapon(i)==3){
format(string, sizeof(string), "* %s wyci?gia pa?k? zza koszuli.", sendername);
ProxDetector(10.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(GetPlayerWeapon(i)==4){
format(string, sizeof(string), "* %s wyci?ga n?? z kieszeni.", sendername);
ProxDetector(10.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(GetPlayerWeapon(i)==5){
format(string, sizeof(string), "* %s wyci?ga bejsbol z nogawki.", sendername);
ProxDetector(10.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(GetPlayerWeapon(i)==14){
format(string, sizeof(string), "* %s wyci?ga kwiaty.", sendername);
ProxDetector(10.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
if(GetPlayerWeapon(i)==15){
format(string, sizeof(string), "* %s wyci?ga teczk?.", sendername);
ProxDetector(10.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}

[ Dodano: 2008-11-09, 12:40 ]
if(GetPlayerWeapon(i)==17){
format(string, sizeof(string), "* %s wyci?ga gaz ?zawi?cy z kieszeni.", sendername);
ProxDetector(10.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-09, 13:25


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6804 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
dodaj 1 klamre zamykajaca na koniec tego kodu ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-09, 14:03


Emilian49







Wiek: 35
Na forum: 6649 dni
Posty: 18

Piwa: 1

Respekt: 50

Nadal nic :/ nie da?em ca?ego kodu bo jest ten pochlastany limit znak?w :/ daje kod z za??czniku:

download

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-09, 14:23


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6804 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
Ukryta wiadomość / Hidden message(aby ją zobaczyć musisz postawić użytkownikowi)
Wiadomość została ukryta, aby ją przeczytać należy się zalogować.
;)
Piwko postaw ;p
A i chyba zapomnialem o SetTimerze ;p
wklej jeszcze taki kod
Kod:

public OnGameModeInit()
{
SetTimer("showweapon",1000,1);
return 1;
}


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-09, 14:55


Emilian49







Wiek: 35
Na forum: 6649 dni
Posty: 18

Piwa: 1

Respekt: 50

spoko dzi?ki, masz 2 piffffka.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-09, 17:13


KOSA_Red







Wiek: 35
Na forum: 6693 dni
Posty: 7

Piwa: 48

Respekt: 50

Ostrzeżeń: 40%
Kod:

H:\Documents and Settings\*\Pulpit\pawno\PL.pwn(158) : error 035: argument type mismatch (argument 1)
H:\Documents and Settings\*\Pulpit\pawno\PL.pwn(166) : error 035: argument type mismatch (argument 1)
H:\Documents and Settings\*\Pulpit\pawno\PL.pwn(189) : error 035: argument type mismatch (argument 1)

pomoze ktos? bede bardzo wdzi?czny

Podpis
CHCESZ MIEC ZIME STULECIA ?? WEJDZ NA http://www.robimy-balwana.yoyo.pl/
Jestem młody w pawno!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-09, 18:11


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6804 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
1 podaj linijki
2 zly kod....

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-11, 17:18


Drifters

Prawie jak member






Wiek: 31
Na forum: 6794 dni
Posty: 13

Piwa: 230

Respekt: 50

Ostrzeżeń: 20%
Prosz? o pomoc w errorach ;/ co? zle napisa?em ;/ :|



Kod:

D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1494) : error 029: invalid expression, assumed zero
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1494 -- 1495) : warning 215: expression has no effect
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1495) : error 001: expected token: ";", but found "else"
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1495) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1495) : 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.




:shock: :oops:




Linijki:


Kod:

1491 public IsAtClothShop(playerid)
1492 {
1493 if(IsPlayerConnected(playerid))
1494 }
1495 else if(PlayerToPoint(30.1,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.1,playerid,161.3765,-83.8416,1001.8047));//Zip & Victim
1496 {
1497 return 1;
1498 }
1499 }
1500 return 0;
1501 }




Oczywi?cie za pomoc :piwo:

Podpis
Oferuję!


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-11, 17:52


Jimmy J

suy shatan!






Wiek: 32
Na forum: 6699 dni
Posty: 265

Piwa: 3264

Respekt: 54,4

Kod:

public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(30.1,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.1,playerid,161.3765,-83.8416,1001.8047))//Zip & Victim
{
//mniemam ?e tutaj ma si? co? dzia? o_0
}
}
return 1;
}


na d?? mapy:

Kod:

stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
return 0;
}


Podpis

Nie mam stóp...
Ostatnio zmieniony przez Jimmy J 2008-11-12, 14:58, w całości zmieniany 1 raz  
Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-11, 19:31


Drifters

Prawie jak member






Wiek: 31
Na forum: 6794 dni
Posty: 13

Piwa: 230

Respekt: 50

Ostrzeżeń: 20%
Kod:

D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1498) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1498) : error 029: invalid expression, assumed zero
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1498) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1498) : fatal error 107: too many error messages on one line



Pomocy! Piwko za pomoc! Co zrobi? z tymi errorami? :evil: ;(


Linijka i 5 w dol i w gore
Kod:


{
if(IsPlayerConnected(playerid))
{
}
else if(PlayerToPoint(6.1,playerid,1004.0070,-939.3102,42.1797)) || PlayerToPoint(6.1,playerid,1944.3260,-1772.9254,13.3906)//LS
{//LS
return 1;
}
else if(PlayerToPoint(6.1,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.1,playerid,-1609.7958,-2718.2048,48.5391)
{//LS


Podpis
Oferuję!


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-12, 20:37


Matimor

PAWN Maniak :D






Wiek: 36
Na forum: 6540 dni
Posty: 19

Piwa: 1076

Respekt: 50

Ostrzeżeń: 20%
Drifters Na samym dole mapki daj


Kod:


stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
return 0;
}


[ Dodano: 2008-11-12, 20:39 ]
Kod:


{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}



:)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-13, 19:34


Joro







Wiek: 36
Na forum: 6557 dni
Posty: 4



Respekt: 50

Mam problem z warringami mianowicie:

Kod:

C:\DOCUME~1\AA\Pulpit\AWRP\GAMEMO~1\awrp.pwn(2221) : warning 225: unreachable code
C:\DOCUME~1\AA\Pulpit\AWRP\GAMEMO~1\awrp.pwn(13811) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

Header size: 6272 bytes
Code size: 1081840 bytes
Data size: 2178364 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4904 cells (19616 bytes)
Total requirements: 3282860 bytes

2 Warnings.


Kod:

2220 }
2221 format(string, sizeof(string), "%s.ini", plname);
2222 if(fexist(string))
2223 {



Kod:

13811 if(strcmp(cmd, "/ulecz", true) == 0)
13812 {
13813 if(IsPlayerConnected(playerid))
13814 {
13815 tmp = strtok(cmdtext, idx);
13816 GetPlayerName(playerid, sendername, sizeof(sendername));
13817 new location = PlayerInfo[playerid][pLocal];
13818 if(!strlen(tmp))
13819 {


Czy czegos jest za duzo czy za malo bo juz sam nie wiem :/

Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-14, 11:53


Drifters

Prawie jak member






Wiek: 31
Na forum: 6794 dni
Posty: 13

Piwa: 230

Respekt: 50

Ostrzeżeń: 20%
Teraz jak to doda?em s? nowe ERRORY ;/

Kod:

if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}
else if(PlayerToPoint(6.1,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.1,playerid,-2408.7590,976.0934,45.4175)
{//SF
return 1;
}
else if(PlayerToPoint(5.1,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.1,playerid,-1676.6323,414.0262,6.9484)
{//Between LS and SF
return 1;
}
else if(PlayerToPoint(6.1,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.1,playerid,614.9333,1689.7418,6.6968)
{//Ls
return 1;
}
else if(PlayerToPoint(8.1,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.1,playerid,70.3882,1218.6783,18.5165)
{//LV
return 1;
}
else if(PlayerToPoint(8.1,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.1,playerid,-1327.7218,2678.8723,50.0625)
{//LV
return 1;
}
}
return 0;
}

public IsAtFishPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(1.1,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.1,playerid,398.7553,-2088.7490,7.8359)
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.1,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.1,playerid,391.1094,-2088.7976,7.8359)
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.1,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.1,playerid,374.9598,-2088.7979,7.8359)
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.1,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.1,playerid,367.3637,-2088.7925,7.8359)
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.1,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.1,playerid,354.5382,-2088.7979,7.8359)
{//Fishplace at the bigwheel
return 1;
}
}
return 0;
}

public IsAtCookPlace(playerid)
{
if(IsPlayerConnected(playerid));
{
if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589)) ;
{//Cluckin Bell
return 1;
}
else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078)
{//Burgershot
return 1;


errory

Kod:

D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1497) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1501) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1505) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1509) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1513) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1517) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1521) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1533) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1537) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1541) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1545) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1549) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1559) : error 036: empty statement
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1561) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1561) : error 036: empty statement
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1565) : warning 225: unreachable code
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1565) : error 029: invalid expression, assumed zero
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1565) : warning 215: expression has no effect
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1565) : error 001: expected token: ";", but found "if"
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1565) : error 004: function "PlayerToPoint" is not implemented
D:\DOCUME~1\Rodzinka\Pulpit\gfpl.pwn(1565) : fatal error 107: too many error messages on one line


Prosz? o pomoc :-? :( ;(

[ Dodano: 2008-11-14, 11:54 ]
Da?em linijki od 1497 do 1565

Podpis
Oferuję!


Postaw piwo autorowi tego posta
 

 
Wysłany: 2008-11-14, 12:06


Diler

GtaO RLZ :)






Wiek: 30
Na forum: 6804 dni
Posty: 199

Piwa: 2579

Respekt: 49,8

Ostrzeżeń: 100%
ile razy mozna to pisac 26 error?w == brak klamry !
Skrypt R007 Licznik Klamer ci pomoze ;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