Erori Pawno
#1

Salutare,am facut rost de un gm,l-am editat putin ,nu i-am adaugat/sters nimic!
Cand dau compile imi da urmatoarele erori:

D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(130) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(131) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(132) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(133) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(134) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(135) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(136) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(2595) : error 017: undefined symbol "JB_GivePlayerMoney"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(2624) : error 017: undefined symbol "JB_GivePlayerMoney"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(2661) : error 017: undefined symbol "JB_GivePlayerWeapon"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(2690) : error 017: undefined symbol "JB_SetPlayerPos"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3083) : error 017: undefined symbol "JB_SetPlayerPos"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3112) : warning 216: nested comment
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3289) : error 017: undefined symbol "JB_SetPlayerPos"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3364) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(336 : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3380) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3384) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(338 : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3392) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3396) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3400) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3404) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3416) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3420) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3424) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(342 : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3432) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3444) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(344 : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3452) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3464) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(346 : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3472) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

Adauga astea la inceput:
pawn Code:
#define GetPlayerMoney JB_GetPlayerMoney
#define ResetPlayerMoney JB_ResetPlayerMoney
#define GivePlayerMoney JB_GivePlayerMoney
#define PutPlayerInVehicle JB_PutPlayerInVehicle
#define GivePlayerWeapon JB_GivePlayerWeapon
#define SetPlayerPos JB_SetPlayerPos
#define SetVehiclePos JB_SetVehiclePos
Daca tot apar pune si:
#include <JunkBuster>
Daca tot apar, lipseste o '}' sau '{'
Reply
#3

Quote:
Originally Posted by myhaitza97
View Post
Adauga astea la inceput:
pawn Code:
#define GetPlayerMoney JB_GetPlayerMoney
#define ResetPlayerMoney JB_ResetPlayerMoney
#define GivePlayerMoney JB_GivePlayerMoney
#define PutPlayerInVehicle JB_PutPlayerInVehicle
#define GivePlayerWeapon JB_GivePlayerWeapon
#define SetPlayerPos JB_SetPlayerPos
#define SetVehiclePos JB_SetVehiclePos
Daca tot apar pune si:
#include <JunkBuster>
Daca tot apar, lipseste o '}' sau '{'
Sigur lipseste o } sau mai multe.
Reply
#4

Le-am bagat,dar tot aceleasi erori imi da..si unde poate lipsi aceste { } prin tot gm-ul??Exista vreun program sa le gaseasca?
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=171429
Reply
#6

Multumesc,mai are cineva vreo idee cu ce mai pot rezolva problema?

P.S: Acum il instalez!Sper sa mearga
Reply
#7

Incearca sa pui la sfarsitul gamemodeului chestia asta :
pawn Code:
stock PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z)
{
new Floatldposx, Floatldposy, Floatldposz;
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;
}
Daca tot da aceleasi erori e de la o } care lipseste.. nu inteleg de ce nu ai loat programul ala sa vezi daca chiar lipseste :-j ceri ajutor dar nu incerci ce-ti zic oamenii astepti pentru 5000 de raspunsuri care iti este mai usor sau cum ?
Reply
#8

Acum il instalez,o sa incerc ambele variante!Iti multumesc mult!
Reply
#9

Quote:
Originally Posted by Viken
View Post
Acum il instalez,o sa incerc ambele variante!Iti multumesc mult!
Eu zic ca mai mult ca sigur lipseste o } sau mai multe.. vedem acum
Reply
#10

Am incercat asta:
stock PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z)
{
new Floatldposx, Floatldposy, Floatldposz;
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;
}


Nu merge!O sa incerc cu programu pe care mi l-ai dat!
Reply
#11

Quote:
Originally Posted by Viken
View Post
Am verificat adytza si nu ai modificat nimic..Gresesc eu?

pawn Code:
test
ok.. am mai pus o } ca lipsea 8-| daca tu nu vezi nu-i problema mea.. ia-ti ochelari
Reply
#12

Acum imi da erorile astea
pawn Code:
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(72) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(73) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(74) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(75) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(76) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(77) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
D:\sv samp\juniorzone\pawno\include\JunkBusterFS.inc(78) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(137) : warning 201: redefinition of constant/macro (symbol "GetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(138) : warning 201: redefinition of constant/macro (symbol "ResetPlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(139) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(140) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(141) : warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(142) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(143) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3119) : warning 216: nested comment
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3371) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3375) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3387) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3391) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3395) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3399) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3403) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3407) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3411) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3423) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3427) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3431) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3435) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3439) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3451) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3455) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3459) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3471) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3475) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3479) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(3483) : error 004: function "PlayerToPoint" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(4261) : error 004: function "RemoveRoadblock" is not implemented
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(4267) : error 017: undefined symbol "PlayerName"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5088) : error 017: undefined symbol "PlayerName"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5274) : error 017: undefined symbol "IsLeader"
D:\sv samp\juniorzone\gamemodes\godfatherNEW.pwn(5276) : error 017: undefined symbol "IsLeader"

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


26 Errors.
Reply
#13

Quote:
Originally Posted by Viken
View Post
Pai unde mah??Ca nu am sters si am dat copy..
Eu cand am loat codul ce ai pus tu acolo am vazut ca lipsea o } daca tu nu esti in stare sa postezi un cod in intregime si apoi zici ca nu am facut nimic .. poi nu-i problema mea.. deci fii atent.. posteaza gm aici si incerc sa ti-l rezolv
Reply
#14

Ai pus #include <JunkBuster> sub #include <a_samp>? Ai ultima versiune a JunkBusterului? Stii sa-l folosesti? Ai inclus JunkBuster in toate FS-urile tale?
Reply
#15

Quote:
Originally Posted by DiGiTaL_AnGeL
View Post
Ai pus #include <JunkBuster> sub #include <a_samp>? Ai ultima versiune a JunkBusterului? Stii sa-l folosesti? Ai inclus JunkBuster in toate FS-urile tale?
Ce trb. are junkbuster cand lipseste o } sau mai multe ? 8-| te bagi degeaba
Reply
#16

Nu ai publicul PlayerToPoint.
Reply
#17

Quote:
Originally Posted by SounDD
View Post
Nu ai publicul PlayerToPoint.
Hai numai spune ? Te-ai gandit mult la asta ?))
Daca te uitai prin post vedeai ca defapt lipseste o } sau mai multe } si ca daca pune playertopoint aceleasi erori
Reply
#18

pawn Code:
if(StartingPaintballRound == 1 && AnnouncedPaintballRound == 0)
{
AnnouncedPaintballRound = 1;
if(PlayerPaintballing[i] != 0)
{
SendClientMessage(i, COLOR_YELLOW, "Paintball Match will be announced in 15 seconds (For getting more Paintball players).");
}
}
if(StartingKartRound == 1 && AnnouncedKartRound == 0)
{
AnnouncedKartRound = 1;
if(PlayerKarting[i] != 0 && PlayerInKart[i] != 0)
{
SendClientMessage(i, COLOR_YELLOW, "Karting Race will be announced in 15 seconds (For getting more Kart Racers).");
}
}
if(EndingKartRound == 1)
{
if(PlayerKarting[i] != 0 && PlayerInKart[i] != 0)
{
DisablePlayerCheckpoint(i);
CP[i] = 0;
}
}
if(StartingRacingRound == 1 && AnnouncedRacingRound == 0)
{
AnnouncedRacingRound = 1;
if(PlayerRacing[i] != 0 && PlayerInRacing[i] != 0)
{
SendClientMessage(i, COLOR_YELLOW, "8 track Race will be announced in 15 seconds (For getting more 8 track Racers).");
}
}
if(EndingRacingRound == 1)
{
if(PlayerRacing[i] != 0 && PlayerInRacing[i] != 0)
{
DisablePlayerCheckpoint(i);
CP[i] = 0;
                }
            }
            if(StartingRacing2Round == 1 && AnnouncedRacing2Round == 0)
            {
                AnnouncedRacing2Round = 1;
                if(PlayerRacing2[i] != 0 && PlayerInRacing2[i] != 0)
                {
                    SendClientMessage(i, COLOR_YELLOW, "Dirt Race will be announced in 15 seconds (For getting more Dirt Racers).");
                }
            }
            if(EndingRacing2Round == 1)
            {
                if(PlayerRacing2[i] != 0 && PlayerInRacing2[i] != 0)
                {
                    DisablePlayerCheckpoint(i);
                    CP[i] = 0;
                }
            }
Asta este codul!Daca gasiti { lipsa,va rog sa puneti tot codul !Multumesc
Reply
#19

Quote:
Originally Posted by Adytza.
View Post
Ce trb. are junkbuster cand lipseste o } sau mai multe ? 8-| te bagi degeaba
Vorbesti prostii. Uita-te la erori, Undefined JBC_GetPlayerSpeed, si redefinition of constant/macro GetPlayerSpeed. Mi-a dat si mie erorile astea pt ca nu inclusesem JB in AVS... Si treaba cu PTP, aia nu e inclusa...
Reply
#20

Quote:
Originally Posted by DiGiTaL_AnGeL
View Post
Vorbesti prostii. Uita-te la erori, Undefined JBC_GetPlayerSpeed, si redefinition of constant/macro GetPlayerSpeed. Mi-a dat si mie erorile astea pt ca nu inclusesem JB in AVS... Si treaba cu PTP, aia nu e inclusa...
Lasa.. cum zici tu asa sa fie.. n-are rost sa iti explic ce am de explicat.. fie cum zici tu
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)