Wysłany: 2010-12-19, 16:46
Mani_13
Wiek: 28 Na forum: 5941 dni Posty: 5
Nick w MP: Matiss_13
Piwa : 191
SzoteK , okay, dzi?ki za pomoc, i za to ?e chcia?o ci si? pisa?.
A wracaj?c do tamtego, mia?e? racje, teraz wszytko dzia?a, tylko za? jeszcze troch? tych includ?w musia?em doda? ?eby dzia?a?o do ko?ca...
Za pomoc ci postawi?
Pozdroo.
Wysłany: 2010-12-20, 18:34
Gregor1234
Wiek: 39 Na forum: 5773 dni Posty: 1
Nick w MP: Marycha96
C:\Documents and Settings\Karol\Pulpit\PBS_12.pwn(10119) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Mi wyskakuje cos takiego to co amam wpisac ?
Wysłany: 2010-12-20, 23:17
BraYaN_
Wiek: 34 Na forum: 6612 dni Posty: 276
Nick w MP: BraYaN_
Piwa : 1614
Musisz zforwardowac ten public, lub go ca?kowicie usun??, bo w nowym sampie ju? go nie ma.
Wysłany: 2010-12-21, 14:36
BrendY
Stalker.
Wiek: 32 Na forum: 6404 dni Posty: 48
Piwa : 2482
?eby uzupe?ni? wypowiedz kolegi, funkcja OnPlayerPrivmsg jest ju? wgrana w SA-MP'a nie ca?kowicie usuni?ta. Dlatego nie op?aca Ci si? jej forwardowa? tylko ca?kowicie usun??, tak jak powiedzia? BraYaN.
Wysłany: 2010-12-22, 16:26
DanyloPL
Wiek: 35 Na forum: 5677 dni Posty: 3
Nick w MP: DanyloPL
Piwa : 53
Prosz? o pomoc z tym errorem
Kod: C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(3) : fatal error 100: cannot read from file: "dubd"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
za pomoc piwko
Wysłany: 2010-12-22, 17:02
QaDu
Wiek: 29 Na forum: 5767 dni Posty: 2
Nick w MP: QaDu
DanyloPL , nie masz include dubd
Wysłany: 2010-12-22, 17:08
DanyloPL
Wiek: 35 Na forum: 5677 dni Posty: 3
Nick w MP: DanyloPL
Piwa : 53
QaDu , wiem ?ci?gne?em go i dalej to wyskauje
Wgra?em tego includa i teraz wyskakuje mi
Kod: C:\Users\AsusPc\Desktop\'\pawno\include\dudb.inc(25) : fatal error 100: cannot read from file: "dutils"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Wysłany: 2010-12-22, 17:11
Robert007
Wiek: 35 Na forum: 6722 dni Posty: 223
Piwa : 11851
To ?ci?gnij "dutils" pisze wyra?nie
Wysłany: 2010-12-22, 17:51
DanyloPL
Wiek: 35 Na forum: 5677 dni Posty: 3
Nick w MP: DanyloPL
Piwa : 53
Robert007 , ?ci?gn??em wszystkie potrzebne
I oto wynik
Kod: C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(4699) : error 027: invalid character constant
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(4699) : error 027: invalid character constant
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5639) : error 027: invalid character constant
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5639) : error 027: invalid character constant
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5685) : error 029: invalid expression, assumed zero
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5685) : error 017: undefined symbol "NaStacji"
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5686) : error 029: invalid expression, assumed zero
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5686) : error 017: undefined symbol "NaStacji"
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5847) : warning 225: unreachable code
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5847) : error 029: invalid expression, assumed zero
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5847) : error 017: undefined symbol "bylnastacjit"
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5848) : error 029: invalid expression, assumed zero
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5848) : error 017: undefined symbol "bylnastacjit"
C:\Users\AsusPc\Desktop\ptm_by_ramo.pwn(5851) : error 030: compound statement not closed at the end of file (started at line 4529)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
13 Errors.
Wysłany: 2010-12-22, 18:34
Patriko6b
Wiek: 31 Na forum: 5973 dni Posty: 2
Piwa : 4
Robi?em dzisiaj stref? admina lecz nie wypali?o, dostaje dwa warningi ;/
Kod: C:\Documents and Settings\Administrator\Pulpit\strefa.pwn(13) : warning 235: public function lacks forward declaration (symbol "ZakazanaStrefa")
C:\Documents and Settings\Administrator\Pulpit\strefa.pwn(24) : warning 235: public function lacks forward declaration (symbol "IsPlayerInArea")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
Kod Pawno:
Kod: #include <a_samp>
#define COLOR_GREEN 0x33AA33AA
public OnGameModeInit()
{
SetTimer("ZakazanaStrefa", 1000, true);
return 1;
}
public ZakazanaStrefa(){
for(new i; i<MAX_PLAYERS; i++){
if(IsPlayerConnected(i)){
if(IsPlayerInArea(i, 815.95385742188,-2050, 899.04711914063,-2107.6076660156) && !IsPlayerAdmin(i)){
SendClientMessage(i, 0xFFFFFFFF, "");
SetPlayerHealth(i, 0.0);
}
}
}
}
public IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy){
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if (x > minx && x < maxx && y > miny && y < maxy) return 1;
return 0;
}
Wysłany: 2010-12-22, 18:40
SzoteK
DriftPajace <3
Wiek: 32 Na forum: 5954 dni Posty: 143
Nick w MP: SzoteK
Piwa : 747
Patriko6b , pod
Kod: #define COLOR_GREEN 0x33AA33AA
daj takie co?
Kod: forward IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy);
forward ZakazanaStrefa();
Podpis
Tu był kot ale zjadł go Snoop Dogg
Wysłany: 2010-12-22, 19:07
Robert007
Wiek: 35 Na forum: 6722 dni Posty: 223
Piwa : 11851
DanyloPL , potrzebne linijki..
Wysłany: 2010-12-29, 13:46
szeju
Wiek: 30 Na forum: 6353 dni Posty: 65
Piwa : 327
Mam problem z mapka
Kod: C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(102) : warning 209: function "OnGameModeInit" should return a value
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(146) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(158) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(160) : warning 225: unreachable code
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(160) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(160) : error 004: function "OnPlayerSpawn" is not implemented
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(163) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(165) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(168) : warning 225: unreachable code
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(168) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(168) : error 004: function "ZmienneWiadomosci" is not implemented
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(190) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(190) : error 004: function "OnPlayerCommandText" is not implemented
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(195) : error 017: undefined symbol "cmd"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(197) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(198) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(199) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(200) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(201) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(202) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(203) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(207) : warning 225: unreachable code
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(207) : error 017: undefined symbol "cmdtext"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(209) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(210) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(211) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(212) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(213) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(214) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Szeju12\Pulpit\szeju.pwn(215) : error 017: undefined symbol "playerid"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Linijki od 98 do 174
Kod: public OnGameModeInit()
//============= ANTY PING =================
SetTimer("AntyPing" ,1000,1); // ANTY PING
forward AntyPing();
public AntyPing()
{
new string[256];
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(enabelcheckping)
{
if(CanPing[i][1] && !CanPing[i][0])
{
CanPing[i][1] = false;
CanPing[i][0] = true;
continue;
}
if(CanPing[i][0])
{
if(GetPlayerPing(i) >= maxping)
{
new Name[MAX_PLAYER_NAME];
GetPlayerName(i, Name, sizeof(Name));
format(string, sizeof(string), "SERVER: %s (ID: %d) Zosta? Wyrzucony. Pow?d: Wysoki Ping", Name, i);
SendClientMessageToAll(COLOR_LIGHTRED, string);
Kick(i);
}
}
}
}
}
}
//============ TEKXTDRAW POD MINIMAPKA ============================
forward ZmienneWiadomosci(playerid);
new Text:UnderMinimap;
public OnGameModeInit()
{
//=========================[ TextDraw ]=======================================
UnderMinimap = TextDrawCreate(33.000000, 423.000000, "_");
TextDrawBackgroundColor(UnderMinimap, 65535);
TextDrawFont(UnderMinimap, 1);
TextDrawLetterSize(UnderMinimap, 0.310000, 0.699999);
TextDrawColor(UnderMinimap, -1);
TextDrawSetOutline(UnderMinimap, 1);
TextDrawSetProportional(UnderMinimap, 1);
TextDrawSetShadow(UnderMinimap, 1);
SetTimer("ZmienneWiadomosci",10000,1);
//==============================================================================
return 1;
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid,UnderMinimap);
return true;
}
public ZmienneWiadomosci(playerid)
{
TextDrawSetString(UnderMinimap, RandMessages[random(sizeof(RandMessages))]);
}
// ======================= KONIEC TEKSTDRAWU ===================
Na gorze mam
new RandMessages[][] = {
"zapraszamy na forum : "forum"",
"Pamietaj CHEATY = BAN !"
};
Linijki od 190 do 203
Kod: public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmd, "/help", true) == 0 || strcmp(cmd, "/pomoc", true) == 0 || strcmp(cmd, "/p", true) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW,"* tekst");
SendClientMessage(playerid, COLOR_GREEN,"* tekst");
SendClientMessage(playerid, COLOR_GREEN,"tekst");
SendClientMessage(playerid, COLOR_GREEN,"tekst");
SendClientMessage(playerid, COLOR_GREEN,"tekst");
SendClientMessage(playerid, COLOR_YELLOW,"tekst);
return 1;
od 207 do 219
Kod: if (strcmp("/cmd", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW,"* Oto dostepne komendy:");
SendClientMessage(playerid, COLOR_GREEN,"/komenda"); // V
SendClientMessage(playerid, COLOR_GREEN,"/komenda"); // V
SendClientMessage(playerid, COLOR_GREEN,"/komenda");//V
SendClientMessage(playerid, COLOR_GREEN,"/komenda"); //V
SendClientMessage(playerid, COLOR_GREEN,"/komenda");
SendClientMessage(playerid, COLOR_GREEN,"/komenda"); //V
SendClientMessage(playerid, COLOR_GREEN,"/komenda");
SendClientMessage(playerid, COLOR_GREEN,"/komenda");
SendClientMessage(playerid, COLOR_LIGHTGREEN,"Aby zobaczyc dalszy ciag komend wpisz /cmd2");
return 1;
( w "/komenda" mam swoje komendy )
Podpis
piatek.tosiewytnie.pl/i,Piatek-The-Series-s04e02,vid,34221,index.html
Wysłany: 2010-12-30, 08:37
Pacio_Caverutti
Rollin' and hejtaz.
Wiek: 29 Na forum: 6418 dni Posty: 37
Nick w MP: Delight
Piwa : 1363
Dobra, kr?tko i zwi??le. Wyskakuj? mi takie errory:
Kod: 
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(71) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(73) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(77) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(79) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(81) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(84) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(86) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(88) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(90) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(92) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(94) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(96) : error 010: invalid function or declaration
C:\DOCUME~1\MICHA~1\Pulpit\Untitled.pwn(98) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
13 Errors.
Ale ja nic w mapie praktycznie nie robi?em, pr?cz dodania kilku linijek kodu. Mo?e co? jest ?le? Prosz? o odpowied?.
Kod: if(strcmp(cmd, "/cmd", true) == 0 || strcmp(cmd, "/komendy", true) == 0) {
ShowPlayerDialog(playerid, 6, 0, "* Spis Komend: /komendy1 (Spis dalszych komend), /teleporty(1-4) (Wszystkie teleporty), /komendyadmina (tylko dla administracji!). ***Koniec Komend***", "OK", "Anuluj");
return 1;
}
if(strcmp(cmd, "/cmd1", true) == 0 || strcmp(cmd, "/komendy1", true) == 0) {
ShowPlayerDialog(playerid, 7, 0, "* Spis komend:*", "/pm [ID] [Tre??], /hp, /kamizelka, /bronie, /auta, /animacje, /tune, /napraw . ***Koniec Komend***", "OK", "Anuluj");
return 1;
}
if(strcmp(cmd, "/teles", true) == 0 || strcmp(cmd, "/teleporty", true) == 0) {
ShowPlayerDialog(playerid, 8, 0, "* Spis teleport?w*:" "/stunt-lv, /zjazd.lv, /lv, /sf, /ls, /tune-lv, /tune-sf, /tune-ls, /lv-lot, /sf-lot, /ls-lot ***Koniec Komend***", "OK", "Anuluj");
}
if(strcmp(cmd, "/teles2", true) == 0 || strcmp(cmd, "/teleporty2", true) == 0) {
ShowPlayerDialog(playerid, 8, 0, "* Spis teleport?w 2:*", "/pustynia, /skate.park, /tama, /chillad(g?ra w sf), /port, /port2, /kopalnia, /bagno ***Koniec Komend***", "OK", "Anuluj");
return 1;
}
if(strcmp(cmd, "/teles3", true) == 0 || strcmp(cmd, "/teleporty3", true) == 0) {
ShowPlayerDialog(playerid, 13, 0, "* Spis teleport?w 3:*", "/plaza, /plaza2, /party, /tram, /g2, /wieza, /piramida, /4smoki, /wies, /statek ***Koniec Komend***", "OK", "Anuluj");
return 1;
}
if(strcmp(cmd, "/teles4", true) == 0 || strcmp(cmd, "/teleporty4", true) == 0) {
ShowPlayerDialog(playerid, 13, 0, "* Spis teleport?w 4*:", "/bus, /golf, /wojsko, /fabryka, /minigun, /disco, /dirtyrace, /wyspa ***Koniec Komend***", "Ok", "Anuluj");
return 1;
}
{ if(strcmp(cmd, "/admincmd", true) == 0 || strcmp(cmd, "/komendyadmina", true) == 0) {
ShowPlayerDialog(playerid, 13, 0, "* Spis komend*", "/acmd, /pogoda, /startch, /gb.c|c, /baza.o|c, /awinda.g|d, /ws.o|c, /dach.o|c, /dach2.o|c, /walizka, /startWG, /whHelp***Koniec Komend***", "Ok", "Anuluj");
return 1;
}
Podpis
P omogłem? Daj piwo lub punkt reputacji.
-=
G ie e
R U B e e
S O e
N =-
Wysłany: 2010-12-30, 17:50
kosa12505
Wiek: 30 Na forum: 6184 dni Posty: 16
Nick w MP: [PSZ]Kosa/RKD
Piwa : 2445
error 049: invalid line continuation
To m?j err gdy dodaj? pojazdy
AddStaticVehicle..
Nie rozumiem, help
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: