Wysłany: 2009-03-24, 16:23
ZiPeKs
new zipekS;
Wiek: 36 Na forum: 6530 dni Posty: 43
Piwa : 469
jak zdefiniuje to nic mi to nie daje tylko mam wi?cej error?w
Wysłany: 2009-04-13, 18:38
Neo055
Wiek: 31 Na forum: 6375 dni Posty: 1
ja mam takie b??dy Kod: C:\Users\Admin\Desktop\viceA.pwn(20) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\viceA.pwn(20) : warning 215: expression has no effect
C:\Users\Admin\Desktop\viceA.pwn(20) : error 001: expected token: ";", but found "]"
C:\Users\Admin\Desktop\viceA.pwn(20) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\viceA.pwn(20) : 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.
a ty linijka 20
Kod: public OnPlayerConnect(playerid) {
Vice[playerid] = 0;
return 1;
}
za pomoc dam nawet 2 piffka
Wysłany: 2009-04-16, 20:35
Fire Dragon
c=(b/n)%10+48,n/=10;
Wiek: 32 Na forum: 7104 dni Posty: 63
Piwa : 1046
Najprawdopodobniej gdy inicjowa?e? now? zmienn? zapomnia?e? doda? ";" po jej nazwie.
Podpis
Bardzo chętnie pomagam na GG...
Wysłany: 2009-04-19, 22:33
Michalec
Dokładnie.
Wiek: 30 Na forum: 6502 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
A ja z kolei ma taki problem ( pomagam kumplowi w teleportach jak co? Damianos to on ) :
Kod: C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\SAMP02~1.WIN\FILTER~1\telesy.pwn(914) : error 030: compound statement not closed at the end of file (started at line 81)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Sprawdza?em nawiasy itd. i wysz?o mi ?e wszystko pozamykane
Dok?adnie to z tym jest problem:
Kod: if(strcmp(cmdtext, "/teleporty5", true)==0) {
SendClientMessage(playerid, COLOR_WHITE,"Teleporty wykona? Damianos ");
SendClientMessage(playerid, COLOR_YELLOW,"/stunt - stunt park w SF ");
SendClientMessage(playerid, COLOR_YELLOW,"/lv - miasto lv");
SendClientMessage(playerid, COLOR_YELLOW,"/lot-lv - lotnisko w LV");
SendClientMessage(playerid, COLOR_YELLOW,"/burdel - burdel na pustyni ");
SendClientMessage(playerid, COLOR_YELLOW,"/doki - doki w LS ");
SendClientMessage(playerid, COLOR_YELLOW,"/drift2 - drift nr. 2");
SendClientMessage(playerid, COLOR_YELLOW,"/drift - drift nr. 1");
SendClientMessage(playerid, COLOR_WHITE,"I to na tyle teleport?w , wkr?tce dodam wiecej ;] POZDRO Damianos");
if(IsPlayerAdmin(playerid)) {
SendClientMessage(playerid, COLOR_SYSTEM,"/tajnabaza - tajowna baza tylko dla ciebie ");
return 1;
}
Jak usun? z tego t? cz??? :
Kod: if(IsPlayerAdmin(playerid)) {
SendClientMessage(playerid, COLOR_SYSTEM,"/tajnabaza - tajowna baza tylko dla ciebie ");
Wszystkie problemy znikaja i si? kompiluje .
Z g?ry thx za pomoc
Wysłany: 2009-04-19, 23:25
adrian_pl_20
Wiek: 31 Na forum: 6780 dni Posty: 155
Nick w MP: adrian_w
Piwa : 1568
zr?b tak
Kod: if(strcmp(cmdtext, "/teleporty5", true)==0) {
SendClientMessage(playerid, COLOR_WHITE,"Teleporty wykona? Damianos ");
SendClientMessage(playerid, COLOR_YELLOW,"/stunt - stunt park w SF ");
SendClientMessage(playerid, COLOR_YELLOW,"/lv - miasto lv");
SendClientMessage(playerid, COLOR_YELLOW,"/lot-lv - lotnisko w LV");
SendClientMessage(playerid, COLOR_YELLOW,"/burdel - burdel na pustyni ");
SendClientMessage(playerid, COLOR_YELLOW,"/doki - doki w LS ");
SendClientMessage(playerid, COLOR_YELLOW,"/drift2 - drift nr. 2");
SendClientMessage(playerid, COLOR_YELLOW,"/drift - drift nr. 1");
SendClientMessage(playerid, COLOR_WHITE,"I to na tyle teleport?w , wkr?tce dodam wiecej ;] POZDRO Damianos");
if(IsPlayerAdmin(playerid)) {
SendClientMessage(playerid, COLOR_SYSTEM,"/tajnabaza - tajowna baza tylko dla ciebie ");
}
return 1;
}
Wysłany: 2009-04-19, 23:25
Fire Dragon
c=(b/n)%10+48,n/=10;
Wiek: 32 Na forum: 7104 dni Posty: 63
Piwa : 1046
Kod: if(strcmp(cmdtext, "/teleporty5", true)==0)
{
SendClientMessage(playerid, COLOR_WHITE,"Teleporty wykona? Damianos ");
SendClientMessage(playerid, COLOR_YELLOW,"/stunt - stunt park w SF ");
SendClientMessage(playerid, COLOR_YELLOW,"/lv - miasto lv");
SendClientMessage(playerid, COLOR_YELLOW,"/lot-lv - lotnisko w LV");
SendClientMessage(playerid, COLOR_YELLOW,"/burdel - burdel na pustyni ");
SendClientMessage(playerid, COLOR_YELLOW,"/doki - doki w LS ");
SendClientMessage(playerid, COLOR_YELLOW,"/drift2 - drift nr. 2");
SendClientMessage(playerid, COLOR_YELLOW,"/drift - drift nr. 1");
SendClientMessage(playerid, COLOR_WHITE,"I to na tyle teleport?w , wkr?tce dodam wiecej ;] POZDRO Damianos");
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid, COLOR_SYSTEM,"/tajnabaza - tajowna baza tylko dla ciebie ");
}
return 1;
}
Podpis
Bardzo chętnie pomagam na GG...
Wysłany: 2009-04-20, 22:35
Michalec
Dokładnie.
Wiek: 30 Na forum: 6502 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
Mam kolejny problem tym razem z mapk? .
Chcia?bym to po?aczy? :
Kod: public OnPlayerConnect(playerid)
{
new name[256];
GetPlayerName(playerid, name, sizeof(name));
format(name,256,"Gracz %s Wbi? na Serva" ,name);
SendClientMessageToAll(COLOR_GRANATOWY,name);
}
Z tym :
Kod: SendClientMessage(playerid, COLOR_GREY, "LVDM stworzony przez Damianosa ;]");
SendClientMessage(playerid, COLOR_GREY, "Zach?cam do gry i zabawy ");
SendClientMessage(playerid, COLOR_GREY, "Pozdro Damianos");
return 1;
}
No i po po??czeniu wysz?o to :
Kod: public OnPlayerConnect(playerid)
{
new name[256];
GetPlayerName(playerid, name, sizeof(name));
format(name,256,"Gracz %s Wbi? na Serva" ,name);
SendClientMessageToAll(COLOR_GRANATOWY,name);
}
SendClientMessage(playerid, COLOR_GREY, "LVDM stworzony przez Damianosa ;]");
SendClientMessage(playerid, COLOR_GREY, "Zach?cam do gry i zabawy ");
SendClientMessage(playerid, COLOR_GREY, "Pozdro Damianos");
return 1;
}
A to ten nastepuj?cy b?ad:
Kod: C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\SAMP02~1.WIN\GAMEMO~1\lvdm.pwn(163) : error 021: symbol already defined: "SendClientMessage"
C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\SAMP02~1.WIN\GAMEMO~1\lvdm.pwn(166) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Mo?e usun?c returna?
Nie wiem jestem jeszcze pocz?tkuj?cy ;/
Postawie chociarz wiem ?e dla was to ?atwe ale uczy si? na b??dach
Wysłany: 2009-04-20, 22:46
adrian_pl_20
Wiek: 31 Na forum: 6780 dni Posty: 155
Nick w MP: adrian_w
Piwa : 1568
zr?b tak
Kod: public OnPlayerConnect(playerid)
{
new name[256];
GetPlayerName(playerid, name, sizeof(name));
format(name,256,"Gracz %s Wbi? na Serva" ,name);
SendClientMessageToAll(COLOR_GRANATOWY,name);
SendClientMessage(playerid, COLOR_GREY, "LVDM stworzony przez Damianosa ;]");
SendClientMessage(playerid, COLOR_GREY, "Zach?cam do gry i zabawy ");
SendClientMessage(playerid, COLOR_GREY, "Pozdro Damianos");
return 1;
}
Wysłany: 2009-04-22, 20:46
Michalec
Dokładnie.
Wiek: 30 Na forum: 6502 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
ja mam problem z rampami ;/
to problem:
Kod: C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\WWWPAW~1.PL\rampy.pwn(72) : warning 217: loose indentation
C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\WWWPAW~1.PL\rampy.pwn(81) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\WWWPAW~1.PL\rampy.pwn(86) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\WWWPAW~1.PL\rampy.pwn(88) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
z pierwszym bledem umiem sobie poradzic wystarczy :
Kod:
ale reszty nie kumam. To od 80 do 90:
Kod: if(strcmp(cmdtext,"/rampoff",true)==0) {
playerramptypes[playerid] = -1;
SendClientMessage(playerid, COLOR_GREEN,"Wy??czy?e? rampy!");
SendClientMessage(playerid, COLOR_GREEN,"BRAWOOOOO!!!!!!");
}
return 1;
}
return 0;
}
Z g?ry thx za pomoc .
PS
Dodam ?e pod komend? jest nowy public .
Wysłany: 2009-04-22, 21:05
The Psychol
Psychol
Wiek: 35 Na forum: 6871 dni Posty: 2822
Nick w MP: The_Psychol
Piwa : 4390
Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
policz klamry w tej komendzie...
Podpis
And that's the bottom line 'cause The Psychol said so!
Wysłany: 2009-04-22, 21:22
Michalec
Dokładnie.
Wiek: 30 Na forum: 6502 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
liczy?em wszystkie git ;/
nie czaje za bardzo pawno jestem jeszcze pocz?tkuj?cy plz pom?? ;/
Wysłany: 2009-04-22, 21:24
Fire Dragon
c=(b/n)%10+48,n/=10;
Wiek: 32 Na forum: 7104 dni Posty: 63
Piwa : 1046
Kod: if(strcmp(cmdtext,"/rampoff",true)==0) {
playerramptypes[playerid] = -1;
SendClientMessage(playerid, COLOR_GREEN,"Wy??czy?e? rampy!");
SendClientMessage(playerid, COLOR_GREEN,"BRAWOOOOO!!!!!!");
}
return 1;
}
Nie no cz?owieku wy?sza matematyka, prawie podchodzi pod kwantow?.
1 otwarta, 2 zamkni?te, a musi by? po r?wno...
Podpis
Bardzo chętnie pomagam na GG...
Wysłany: 2009-04-22, 21:31
Michalec
Dokładnie.
Wiek: 30 Na forum: 6502 dni Posty: 163
Nick w MP: []Damianos[]
Piwa : 99
Kod: C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\WWWPAW~1.PL\rampy.pwn(81) : error 010: invalid function or declaration
C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\WWWPAW~1.PL\rampy.pwn(86) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Mo?e chdzi o tego publica ni?ej :
Kod: if(strcmp(cmdtext,"/rampoff",true)==0) {
playerramptypes[playerid] = -1;
SendClientMessage(playerid, COLOR_GREEN,"Wy??czy?e? rampy!");
SendClientMessage(playerid, COLOR_GREEN,"BRAWOOOOO!!!!!!");
}
return 1;
}
public RemoveRamp(playerid)
{
A jak usunolem:
Kod:
Wysz?o to :
Kod: C:\DOCUME~1\ADMINI~1\Pulpit\Gry\samp\WWWPAW~1.PL\rampy.pwn(81) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Wysłany: 2009-04-29, 20:55
Ulan15
Wiek: 36 Na forum: 6362 dni Posty: 7
Piwa : 1
co mam zmienc w tym
C:\Documents and Settings\SysOp\Pulpit\af.pwn(15) : error 021: symbol already defined: "CreateObject"
a taka linijka
CreateObject(969, -955.674011, -1444.622437, 126.910057, 0.0000, 0.0000, 0.0000);
Wysłany: 2009-04-30, 12:18
sebek95
<[P|A|W|N]>
Wiek: 37 Na forum: 6725 dni Posty: 18
Piwa : 8
Dobry ^^
Mam takie problemiki:
Kod: C:\Documents and Settings\Sebebastian\Moje dokumenty\Moje obrazy\Moje dokumenty\Baza Admina by sebek95.pwn(208) : error 017: undefined symbol "winda"
C:\Documents and Settings\Sebebastian\Moje dokumenty\Moje obrazy\Moje dokumenty\Baza Admina by sebek95.pwn(216) : error 017: undefined symbol "winda"
C:\Documents and Settings\Sebebastian\Moje dokumenty\Moje obrazy\Moje dokumenty\Baza Admina by sebek95.pwn(232) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
A oto te linijki:
Pawn
{
GameTextForPlayer ( playerid , "~n~Winda jedzie w gore" , 2500 , 5 );
MoveObject ( winda , 1952.8005 , 1002.7625 , 24.919 , 4 );
}
Pawn
{
GameTextForPlayer ( playerid , "~n~Winda jedzie w dol" , 2500 , 5 );
MoveObject ( winda , 1952.8225 , 1002.7398 , 53.3812 , 4 );
}
Teoretycznie nie zdefiniowa?em "winda", tylko, ?e zdefiniowa?em
Pawn
Pawn winda = CreateObject ( 5837 , 1952.8225 , 1002.7398 , 53.3812 , 0 , 0 , 270 );
Co zrobi???
Piffko w nagrod?
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: