Jump to content

Question

Posted

Cand dau compile primesc aceste erorii

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(1904) : error 017: undefined symbol "GivePlayerCash"
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(1934) : error 017: undefined symbol "GivePlayerCash"
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2225) : error 004: function "SetPlayerToTeamColor" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2250) : error 004: function "SetPlayerToTeamColor" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2268) : error 004: function "SetPlayerCriminal" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2273) : error 004: function "SetPlayerCriminal" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2337) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2341) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2353) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2357) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2361) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2365) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2369) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2373) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2377) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2381) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2393) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2397) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2401) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2405) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2409) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2421) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2425) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2429) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2441) : error 004: function "PlayerToPoint" is not implemented
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\SainTs.pwn(2445) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.

14 answers to this question

Recommended Posts

Posted

Ai uitat pe undeva sa inchizi o { . Mai mult n-avem cum sa te ajutam, decat asta: http://forum.sa-mp.com/showthread.php?t=171429, uita-te cum se instaleaza.

Posted

nu reusesc sa folosesc programul ala..

Nu stiu cum de eu reusesc, si voi nu reusiti, tot om sunt :)

Citeste atent ce scrie ! Daca nu stii engleza, n-ai sanse in scripting ! Altfel n-avem cum sa te ajutam, decat cu programul acela.

Posted

uite ce fel imi da :

MISSING BRACKET: The } bracket on line 11222 does not have a pair!
Result: 
Opening angle brackets ({): 9314 
Closing angle brackets (}): 9315 
1 angle brackets without pair! Fix it! 

si uite linia !

[pawn]GetPlayerName(targetid, name, sizeof(name));

GetPlayerHealth(targetid,health);

GetPlayerArmour(targetid,armour);

  11222    new Float:px,Float:py,Float:pz;

GetPlayerPos(targetid, px, py, pz);

new coordsstring[256];[/pawn]

Posted

acuma iar imi da la linia 9392:

MISSING BRACKET: The { bracket on line 9392 does not have a pair!
Result: 
Opening angle brackets ({): 9364 
Closing angle brackets (}): 9363 
1 angle brackets without pair! Fix it! 

[pawn]public RingTonerRev()

{

for(new i = 0; i < MAX_PLAYERS; i++)

9392:{

    if(IsPlayerConnected(i))

    {

if(RingTone != 5 && RingTone != 0 && RingTone < 10)

{

RingTone = RingTone -1;

PlayerPlaySound(i, 1137, 0.0, 0.0, 0.0);

}

if(RingTone == 5)

{

RingTone = RingTone -1;

}

if(RingTone == 19)

{

PlayerPlaySound(i, 1139, 0.0, 0.0, 0.0);

RingTone = 0;

}

}

}

SetTimer("RingToner", 1000, 0);

return 1;

}

[/pawn]

[pawn]

9363:public RingToner()

9364:{

for(new i = 0; i < MAX_PLAYERS; i++)

{

    if(IsPlayerConnected(i))

    {

if(RingTone != 6 && RingTone != 0 && RingTone < 11)

{

RingTone = RingTone -1;

PlayerPlaySound(i, 1138, 0.0, 0.0, 0.0);

}

if(RingTone == 6)

{

RingTone = RingTone -1;

}

if(RingTone == 20)

{

RingTone = RingTone -1;

PlayerPlaySound(i, 1139, 0.0, 0.0, 0.0);

}

}

}

SetTimer("RingTonerRev", 1000, 0);

return 1;

}

[/pawn]

si din jurul liniei 9314:

[pawn]

public SetPlayerCriminal(playerid,declare,reason[])

{//example: SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");

if(IsPlayerConnected(playerid))

{

    PlayerInfo[playerid][pCrimes] += 1;

    new points = WantedPoints[playerid];

new turned[MAX_PLAYER_NAME];

new turner[MAX_PLAYER_NAME];

new turnmes[128];

new wantedmes[128];

new wlevel;

strmid(PlayerCrime[playerid][pAccusedof], reason, 0, strlen(reason), 255);

GetPlayerName(playerid, turned, sizeof(turned));

if (declare == 255)

{

format(turner, sizeof(turner), "Unknown");

strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255);

}

if (declare == 256)

{

format(turner, sizeof(turner), "CCTV Camera");

strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255);

}

else

{

    if(IsPlayerConnected(declare))

    {

GetPlayerName(declare, turner, sizeof(turner));

strmid(PlayerCrime[playerid][pVictim], turner, 0, strlen(turner), 255);

strmid(PlayerCrime[declare][pBplayer], turned, 0, strlen(turned), 255);

strmid(PlayerCrime[declare][pAccusing], reason, 0, strlen(reason), 255);

}

}

format(turnmes, sizeof(turnmes), " You've commited a Crime ( %s ). Reporter: %s.",reason,turner);

SendClientMessage(playerid, COLOR_LIGHTRED, turnmes);

if(points > 0)

{

    new yesno;

if(points == 3) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; wlevel = 1; yesno = 1; SetPlayerWantedLevel(playerid,1); } }

else if(points >= 4 && points <= 5) { if(WantedLevel[playerid] != 2) { WantedLevel[playerid] = 2; wlevel = 2; yesno = 1; SetPlayerWantedLevel(playerid,2); } }

else if(points >= 6 && points <= 7) { if(WantedLevel[playerid] != 3) { WantedLevel[playerid] = 3; wlevel = 3; yesno = 1; SetPlayerWantedLevel(playerid,3); } }

else if(points >= 8 && points <= 9) { if(WantedLevel[playerid] != 4) { WantedLevel[playerid] = 4; wlevel = 4; yesno = 1; SetPlayerWantedLevel(playerid,4); } }

else if(points >= 10 && points <= 11) { if(WantedLevel[playerid] != 5) { WantedLevel[playerid] = 5; wlevel = 5; yesno = 1; SetPlayerWantedLevel(playerid,5); } }

else if(points >= 12 && points <= 13) { if(WantedLevel[playerid] != 6) { WantedLevel[playerid] = 6; wlevel = 6; yesno = 1; SetPlayerWantedLevel(playerid,6); } }

else if(points >= 14 && points <= 15) { if(WantedLevel[playerid] != 7) { WantedLevel[playerid] = 7; wlevel = 7; yesno = 1; SetPlayerWantedLevel(playerid,6); } }

else if(points >= 16 && points <= 17) { if(WantedLevel[playerid] != 8) { WantedLevel[playerid] = 8; wlevel = 8; yesno = 1; SetPlayerWantedLevel(playerid,6); } }

else if(points >= 18 && points <= 19) { if(WantedLevel[playerid] != 9) { WantedLevel[playerid] = 9; wlevel = 9; yesno = 1; SetPlayerWantedLevel(playerid,6); } }

else if(points >= 20 && points <= 21) { if(WantedLevel[playerid] != 10) { WantedLevel[playerid] = 10; wlevel = 10; yesno = 1; SetPlayerWantedLevel(playerid,6); } }

if(WantedLevel[playerid] >= 1) { if(gTeam[playerid] == 3) { gTeam[playerid] = 4; } }

if(yesno)

{

format(wantedmes, sizeof(wantedmes), "Current Wanted Level: %d", wlevel);

SendClientMessage(playerid, COLOR_YELLOW, wantedmes);

for(new i = 0; i < MAX_PLAYERS; i++)

{

if(IsPlayerConnected(i))

{

    if(PlayerInfo[pMember] == 1||PlayerInfo[pLeader] == 1||PlayerInfo[pMember] == 2||PlayerInfo[pLeader] == 2||PlayerInfo[pMember] == 14||PlayerInfo[pLeader] == 14||PlayerInfo[pLeader] == 18)

    {

format(cbjstore, sizeof(turnmes), "HQ: All Units APB: Reporter: %s",turner);

SendClientMessage(i, TEAM_BLUE_COLOR, cbjstore);

format(cbjstore, sizeof(turnmes), "HQ: Crime: %s, Suspect: %s",reason,turned);

SendClientMessage(i, TEAM_BLUE_COLOR, cbjstore);

9314 : }

}

}

}

}

}//not connected

}

[/pawn]

Posted

v am dat liniile

mda si dc faci BUMP UP daca nu tea ajutat nimeni at??...

PS. - La ce identitate ai in RP/GF-ul tau cred ca si aplicatia aia este derutata :)))))

RP/GF - SUCKS!!!

eu nu am vazut nici o neinregula acolo...

Fara reclama in semnatura!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.