Wysłany: 2012-06-15, 17:29
burneika123
Wiek: 31 Na forum: 5295 dni Posty: 25
Mam taki problem
C:\Documents and Settings\TEMP\Pulpit\r??ne\samp03e_svr_win32\pawno\include\strtok.inc(12) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\TEMP\Pulpit\r??ne\samp03e_svr_win32\pawno\include\strtok.inc(27) : error 047: array sizes do not match, or destination array is too small
C:\DOCUME~1\TEMP\USTAWI~1\Temp\Rar$DI89.125\pp.pwn(9225) : error 017: undefined symbol "strrest"
C:\DOCUME~1\TEMP\USTAWI~1\Temp\Rar$DI89.125\pp.pwn(9225) : error 033: array must be indexed (variable "String")
C:\DOCUME~1\TEMP\USTAWI~1\Temp\Rar$DI89.125\pp.pwn(9679) : error 017: undefined symbol "strrest"
C:\DOCUME~1\TEMP\USTAWI~1\Temp\Rar$DI89.125\pp.pwn(9679) : error 033: array must be indexed (variable "BReason")
C:\DOCUME~1\TEMP\USTAWI~1\Temp\Rar$DI89.125\pp.pwn(12879) : error 017: undefined symbol "strrest"
C:\DOCUME~1\TEMP\USTAWI~1\Temp\Rar$DI89.125\pp.pwn(12879) : error 033: array must be indexed (variable "Reason")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
Wysłany: 2012-06-15, 17:57
B!4CK
Never give UP!
Wiek: 32 Na forum: 5809 dni Posty: 1047
Nick w MP: John
Piwa : 1891
Mo?e by? pokaza? linijki ? -.-
-> 12879)
-> 9679
-> 9225
-> 12
->27
Podpis
Cześć
[you]
!
Projekt, który poruszy scenę platformy SA:MP!
Wysłany: 2012-06-15, 19:12
burneika123
Wiek: 31 Na forum: 5295 dni Posty: 25
Kod: (9225)String = strrest(params, idx);
(9679)BReason = strrest(params, idx);
(12879)Reason = strrest(params, idx);
Wysłany: 2012-06-17, 10:44
20jack01
Wiek: 29 Na forum: 5152 dni Posty: 48
Nick w MP: [PP]20jack01
Piwa : 15
co znaczy 036 ?
[ Dodano : 2012-06-17, 10:44 ]
D:\Gta4\Honest-RP edited by eX\Honest-RP edited by eX\lol.pwn(36) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
[ Dodano : 2012-06-17, 11:19 ]
aha i co znaczy jeszcze 004
Wysłany: 2012-06-27, 08:03
Minator999
Wiek: 38 Na forum: 5220 dni Posty: 7
Wyskakuj? mi 4 warningi :
Kod: C:\Documents and Settings\Nowakowscy\Pulpit\Pawno Amxi map\free-rp-lepsze.pwn(19679) : warning 211: possibly unintended assignment
C:\Documents and Settings\Nowakowscy\Pulpit\Pawno Amxi map\free-rp-lepsze.pwn(19702) : warning 211: possibly unintended assignment
C:\Documents and Settings\Nowakowscy\Pulpit\Pawno Amxi map\free-rp-lepsze.pwn(19725) : warning 211: possibly unintended assignment
C:\Documents and Settings\Nowakowscy\Pulpit\Pawno Amxi map\free-rp-lepsze.pwn(19748) : warning 211: possibly unintended assignment
C:\Documents and Settings\Nowakowscy\Pulpit\Pawno Amxi map\free-rp-lepsze.pwn(19771) : warning 211: possibly unintended assignment
No a tu daje jeszcze ca?y kod :
Kod: //
else if(dialogid == 981) // trening
{
if(!response) return 1;
new s=GraczSklep[playerid];
switch(listitem)
{
case 0:
{
if(dKasa[playerid]<900){ GuiInfo(playerid,"Nie masz tyle pieni?dzy!"); return 1; }
if(PlayerInfo[playerid][pSila]=600)
{
PlayerInfo[playerid][pSila]++;
GuiInfo(playerid,""MAPA"Kupi?e? karnet 1h!");
dDodajKase(playerid,-900);
if(SklepInfo[s][sBiznes]>=0)
{
BiznesInfo[SklepInfo[s][sBiznes]][bBank]+=900;
SklepInfo[s][sProdukty]--;
}
format(String, sizeof(String),"* "ME"(%d) %s "JA"wyci?ga pieni?dze z kieszeni i p?aci nimi za karnet.",playerid,NickCzat(playerid));
WyswietlText(playerid,KOLOR_JA,10.0,String);
return 1;
}
else
{
GuiInfo(playerid,"Nie mo?esz mie? wi?kszej ilo?ci tego produktu!");
}
return 1;
}
case 1:
{
if(dKasa[playerid]<1800){ GuiInfo(playerid,"Nie masz tyle pieni?dzy!"); return 1; }
if(PlayerInfo[playerid][pSila]=1200)
{
PlayerInfo[playerid][pSila]++;
GuiInfo(playerid,""MAPA"Kupi?e? karnet 2h!");
dDodajKase(playerid,-1800);
if(SklepInfo[s][sBiznes]>=0)
{
BiznesInfo[SklepInfo[s][sBiznes]][bBank]+=1800;
SklepInfo[s][sProdukty]--;
}
format(String, sizeof(String),"* "ME"(%d) %s "JA"wyci?ga pieni?dze z kieszeni i p?aci nimi za karnet.",playerid,NickCzat(playerid));
WyswietlText(playerid,KOLOR_JA,10.0,String);
return 1;
}
else
{
GuiInfo(playerid,"Nie mo?esz mie? wi?kszej ilo?ci tego produktu!");
}
return 1;
}
case 2:
{
if(dKasa[playerid]<2600){ GuiInfo(playerid,"Nie masz tyle pieni?dzy!"); return 1; }
if(PlayerInfo[playerid][pSila]=1800)
{
PlayerInfo[playerid][pSila]++;
GuiInfo(playerid,""MAPA"Kupi?e? karnet 3h!");
dDodajKase(playerid,-2600);
if(SklepInfo[s][sBiznes]>=0)
{
BiznesInfo[SklepInfo[s][sBiznes]][bBank]+=2600;
SklepInfo[s][sProdukty]--;
}
format(String, sizeof(String),"* "ME"(%d) %s "JA"wyci?ga pieni?dze z kieszeni i p?aci nimi karnet.",playerid,NickCzat(playerid));
WyswietlText(playerid,KOLOR_JA,10.0,String);
return 1;
}
else
{
GuiInfo(playerid,"Nie mo?esz mie? wi?kszej ilo?ci tego produktu!");
}
return 1;
}
case 3:
{
if(dKasa[playerid]<5000){ GuiInfo(playerid,"Nie masz tyle pieni?dzy!"); return 1; }
if(PlayerInfo[playerid][pSila]=3200)
{
PlayerInfo[playerid][pSila]++;
GuiInfo(playerid,""MAPA"Kupi?e? karnet 5h!");
dDodajKase(playerid,-5000);
if(SklepInfo[s][sBiznes]>=0)
{
BiznesInfo[SklepInfo[s][sBiznes]][bBank]+=5000;
SklepInfo[s][sProdukty]--;
}
format(String, sizeof(String),"* "ME"(%d) %s "JA"wyci?ga pieni?dze z kieszeni i p?aci nimi za karnet.",playerid,NickCzat(playerid));
WyswietlText(playerid,KOLOR_JA,10.0,String);
return 1;
}
else
{
GuiInfo(playerid,"Nie mo?esz mie? wi?kszej ilo?ci tego produktu!");
}
return 1;
}
case 4:
{
if(dKasa[playerid]<19000){ GuiInfo(playerid,"Nie masz tyle pieni?dzy!"); return 1; }
if(PlayerInfo[playerid][pSila]=6000)
{
PlayerInfo[playerid][pSila]++;
GuiInfo(playerid,""MAPA"Kupi?e? karnet Tygodniowy!");
dDodajKase(playerid,-19000);
if(SklepInfo[s][sBiznes]>=0)
{
BiznesInfo[SklepInfo[s][sBiznes]][bBank]+=19000;
SklepInfo[s][sProdukty]--;
}
format(String, sizeof(String),"* "ME"(%d) %s "JA"wyci?ga pieni?dze z kieszeni i p?aci nimi za karnet.",playerid,NickCzat(playerid));
WyswietlText(playerid,KOLOR_JA,10.0,String);
return 1;
}
else
{
GuiInfo(playerid,"Nie mo?esz mie? wi?kszej ilo?ci tego produktu!");
}
return 1;
}
}//switch
return 1;
}
Prosz? pom?? kto? ; /
Wysłany: 2012-06-27, 11:57
er00lek
Wiek: 35 Na forum: 6234 dni Posty: 20
Piwa : 2
Kod:
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(15117) : warning 204: symbol is assigned a value that is never used: "interest"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(15063) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59608) : warning 217: loose indentation
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59628) : warning 217: loose indentation
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59630) : warning 203: symbol is never used: "cmdtext"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59630) : warning 203: symbol is never used: "playerid"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(12432) : warning 204: symbol is assigned a value that is never used: "bramaRzad"
Linijki:
Kod:
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(15117) : warning 204: symbol is assigned a value that is never used: "interest"
Kod:
}
new formatStr[256];
format(formatStr, sizeof formatStr, "Wyp?ata: 1000$\t\tPodatek: %d$\n\nOp?aty za mieszkanie: %d$\nOp?aty za wynajem: %d$\n\nNowy bilans: %d$", TaxValue, ebill, rent, PlayerInfo[i][pAccount]);
ShowPlayerDialog(i, DIALOG_PAYDAY, DIALOG_STYLE_MSGBOX, "Pay-day", formatStr, "Zamknij", "");
interest = (PlayerInfo[i][pAccount]/200)*(tmpintrate);
PlayerInfo[i][pExp]++;
PlayerPlayMusic(i);
rent = 0;
PlayerInfo[i][pPayDay] = 0;
PlayerInfo[i][pPayCheck] = 0;
PlayerInfo[i][pConnectTime] += 1;
PlayerInfo[i][pMozesell] += 1;
if(PlayerInfo[i][pDonateRank] > 0)
{
Kod:
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(15063) : warning 204: symbol is assigned a value that is never used: "string"
Kod:
{
new string[128];
new interest;
new rent = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
Kod:
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59608) : warning 217: loose indentation
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59628) : warning 217: loose indentation
Kod:
Kod:
}
return 1;
}
dcmd_blokadausun(playerid, cmdtext[])
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
new UID;
if (sscanf(cmdtext, "d", UID)) return RRP(playerid, "U?yj: /blokadausun [UID]"), 1;
if(Blokada[UID][bCreated] == 0)
{
RRP(playerid, "Kolczatka o podanym UID nie jest stworzona!");
return 1;
}
DestroyDynamicObject(Blokada[UID][bUID]);
Blokada[UID][bCreated] = 0;
}
}
return 1;
}
dcmd_sejf(playerid, cmdtext[])
{
Kod:
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59630) : warning 203: symbol is never used: "cmdtext"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59630) : warning 203: symbol is never used: "playerid"
Kod:
}
return 1;
}
dcmd_blokadausun(playerid, cmdtext[])
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1)
{
new UID;
if (sscanf(cmdtext, "d", UID)) return RRP(playerid, "U?yj: /blokadausun [UID]"), 1;
if(Blokada[UID][bCreated] == 0)
{
RRP(playerid, "Kolczatka o podanym UID nie jest stworzona!");
return 1;
}
DestroyDynamicObject(Blokada[UID][bUID]);
Blokada[UID][bCreated] = 0;
}
}
return 1;
}
dcmd_sejf(playerid, cmdtext[])
{
Kod:
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(12432) : warning 204: symbol is assigned a value that is never used: "bramaRzad"
Kod:
bramaRzad = CreateObject(975, 377.560944, 173.863800, 1008.857300, 0.0000, 0.0000, 269.7591);
Odrazu m?wi? , ?e spos?b warring'u 217 z #pragma tabsize 0 nie dzia?a.
Prosz? o szybk? pomoc.
Wysłany: 2012-06-27, 18:56
sirgutbert
Wiek: 32 Na forum: 5492 dni Posty: 62
Nick w MP: kored
Piwa : 20
Witam, mam problem z systemem pojazd?w :
Kod:
#include <a_samp>
#include <colors>
new Float:RandomFire[][3] =
{
{-2796.9854, 1224.8180, 20.5429},
{-2454.2170, 503.8759, 30.0790},
{-2669.7322, -6.0874, 6.1328}
};
new Fire;
new rand, targets = 5;
public OnFilterScriptInit()
{
SetTimer("Fire", 300000, true);
forward Fire();
public Fire()
{
if (targets == 5)
{
random(sizeof(RandomFire)) = rand;
SetPlayerCheckpoint(playerid, RandomFire[rand][0], RandomFire[rand][1], RandomFire[rand][2], 3.0);
}
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
new randfar = random(15);
if (targets == 0)
{
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, 0xFFFFFFFF, "Zgasi?e? po?ar, gratulacje!");
targets = 5;
}
else
{
targets --;
SetPlayerCheckpoint(playerid, RandomFire[rand][0] + randfar || RandomFire[rand][0] - randfar, RandomFire[rand][1] + randfar || RandomFire[rand][1] - randfar, RandomFire[rand][2], 3.0);
}
return 1;
}
Errory:
Kod:
C:\Users\johnu\Desktop\SystemPozarow.pwn(22) : error 029: invalid expression, assumed zero
C:\Users\johnu\Desktop\SystemPozarow.pwn(22) : error 012: invalid function call, not a valid address
C:\Users\johnu\Desktop\SystemPozarow.pwn(22) : error 029: invalid expression, assumed zero
C:\Users\johnu\Desktop\SystemPozarow.pwn(22) : 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.
[ Dodano : 2012-06-27, 19:04 ]
er00lek
Kod:
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(12432) : warning 204: symbol is assigned a value that is never used: "bramaRzad"
brakuje ci
Kod:
Wysłany: 2012-06-27, 19:15
er00lek
Wiek: 35 Na forum: 6234 dni Posty: 20
Piwa : 2
B??d z bramaRzad rozwi?zany ,lecz nie chodzi?o tu o new bramaRzad; . Sam nie wiem , jako? pozby?em si? tego warringu .
Zosta?o jeszcze to :
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(15117) : warning 204: symbol is assigned a value that is never used: "interest"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(15063) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59608) : warning 217: loose indentation
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59636) : warning 203: symbol is never used: "cmdtext"
C:\Users\user1\Desktop\TestowyPSG\gamemodes\new.pwn(59636) : warning 203: symbol is never used: "playerid"
Kod jest we wcze?niejszym po?cie.
Wysłany: 2012-06-27, 20:12
sirgutbert
Wiek: 32 Na forum: 5492 dni Posty: 62
Nick w MP: kored
Piwa : 20
Wysłany: 2012-06-27, 21:22
er00lek
Wiek: 35 Na forum: 6234 dni Posty: 20
Piwa : 2
Dzi?ki piwko polecia?o .
Zosta?o mi jeszcze tylko to :
Kod:
C:\Users\user1\Desktop\new.pwn(2512) : error 017: undefined symbol "string"
C:\Users\user1\Desktop\new.pwn(2512) : error 017: undefined symbol "string"
C:\Users\user1\Desktop\new.pwn(2512) : error 029: invalid expression, assumed zero
C:\Users\user1\Desktop\new.pwn(2512) : fatal error 107: too many error messages on one line
W b??dzie 017 jest ?e niby string jest nie zdefiniowany . A te string przewija si? przez ca?? mapk? .Najcz??ciej w formie new string[256];
Kod:
format(string, sizeof(string), "Gracz: %s ID: %d Nagroda: $%d", giveplayer, i, PlayerInfo[i][pHeadValue]);
Za pomoc
EDIT:
Gdy usune?em z linijki (string (to po sizeof):
Dosz?a kolejna ilo?? b??d?w:
Kod:
C:\Users\user1\Desktop\new.pwn(2512) : error 017: undefined symbol "string"
C:\Users\user1\Desktop\new.pwn(2512) : error 020: invalid symbol name ""
C:\Users\user1\Desktop\new.pwn(2513) : error 017: undefined symbol "string"
C:\Users\user1\Desktop\new.pwn(2770) : error 017: undefined symbol "string"
C:\Users\user1\Desktop\new.pwn(2770) : error 017: undefined symbol "string"
C:\Users\user1\Desktop\new.pwn(2770) : error 029: invalid expression, assumed zero
C:\Users\user1\Desktop\new.pwn(2770) : fatal error 107: too many error messages on one line
2512:
Kod:
format(string, sizeof), "Gracz: %s ID: %d Nagroda: $%d", giveplayer, i, PlayerInfo[i][pHeadValue]);
2770:
Kod:
format(string, sizeof(string), "No-one");
Wysłany: 2012-07-01, 19:59
TerraNova
Wiek: 36 Na forum: 5118 dni Posty: 98
Nick w MP: Lonalchemik
Piwa : 797
mam taki b??d
C:\Documents and Settings\Admin\Pulpit\pawno\include\zcmd.inc(124) : error 017: undefined symbol "sscanf"
C:\Documents and Settings\Admin\Pulpit\pawno\include\zcmd.inc(124) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Pulpit\pawno\include\zcmd.inc(124) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Pulpit\pawno\include\zcmd.inc(124) : warning 215: expression has no effect
C:\Documents and Settings\Admin\Pulpit\pawno\include\zcmd.inc(124) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Admin\Pulpit\pawno\include\zcmd.inc(124) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Pulpit\pawno\include\zcmd.inc(124) : fatal error 107: too many error messages on one line
kto pomo?e?
Wysłany: 2012-07-01, 20:11
zajacp1
asdfghjnklngnbfs
Wiek: 28 Na forum: 6102 dni Posty: 610
Piwa : 726
TerraNova , pobierz odpowiednie include.
Wysłany: 2012-07-01, 23:09
TerraNova
Wiek: 36 Na forum: 5118 dni Posty: 98
Nick w MP: Lonalchemik
Piwa : 797
w tym problem ?e mam najnowsze include pobrane i nadal to samo. Gdzie znajde odpowiednie include do tego?
Wysłany: 2012-07-02, 20:53
holl
Wiek: 27 Na forum: 5169 dni Posty: 1
Witam mam problem gdy? chce komplikowa? radio do amx wyst?puj? takie errory:
Kod: D:\mapa\radio.pwn(42) : error 012: invalid function call, not a valid address
D:\mapa\radio.pwn(42) : warning 215: expression has no effect
D:\mapa\radio.pwn(42) : warning 215: expression has no effect
D:\mapa\radio.pwn(42) : error 001: expected token: ";", but found ")"
D:\mapa\radio.pwn(42) : error 029: invalid expression, assumed zero
D:\mapa\radio.pwn(42) : 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:
public OnFilterScriptInit()
{
for(new n; n < MAX_PLAYERS; n++)
{
RadioLewo[n] = TextDrawCreate(393.000000, 41.000000, "~<~");
TextDrawBackgroundColor(RadioLewo[n], 255);
TextDrawFont(RadioLewo[n], 1);
TextDrawLetterSize(RadioLewo[n], 0.600000, 1.399999);
TextDrawColor(RadioLewo[n], -1);
TextDrawSetOutline(RadioLewo[n], 0);
TextDrawSetProportional(RadioLewo[n], 1);
TextDrawSetShadow(RadioLewo[n], 1);
TextDrawSetSelectable(RadioLewo[n], 1);
Kod: TextDrawSetSelectable(RadioLewo[n], 1);
;to linijka 42
Prosz? o pomoc.
Wysłany: 2012-07-10, 14:23
grass
Wiek: 32 Na forum: 5542 dni Posty: 2
Nick w MP: gra$$
C:\Users\Kamil\Desktop\GaM_by_WiceWersa_2.0.pwn(452) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
help! mam mape pro evolucja z gtaonline.pl pobra?em.
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: