Hitno trebam pomoc

814
pregleda
2
postova
Kruno1407
4
Made Man
12. Jun 2010.
Kada provjerim dali gamemod redi izbaci mi ovo

C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(1974) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(1999) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2070) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2074) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2086) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2090) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2094) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(209😎 : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2102) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2106) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2110) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2122) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2126) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2130) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2134) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(213😎 : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2150) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2154) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(215😎 : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2170) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2174) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2904) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2926) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(293😎 : error 004: function "SaveCK" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(296😎 : error 004: function "SavePapers" is not implemented
C:\Documents and Settings\Administrator\Desktop\MrIllusion\gamemodes\eRP.pwn(2999) : error 004: function "SaveFamilies" is not implemented

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

26 Errors.

POMOC!!
die
3
Hustler
12. Jun 2010.
nisi definirao playertopoint

evo. ovo zaljepi na dno skripte

public PlayerToPointStripped(Float:radi, playerid, Float:x, Float:y, Float:z, Float:curx, Float:cury, Float:curz)
{
    if(IsPlayerConnected(playerid))
{
new Float:tempposx, Float:tempposy, Float:tempposz;
tempposx = (curx -x);
tempposy = (cury -y);
tempposz = (curz -z);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) return 1;
}
return 0;
}

i ovo zaljepi na dno skripte

public SendIRCMessage(channel, color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
    if(PlayersChannel == channel)
    {
SendClientMessage(i, color, string);
}
}
}
}

i ovo takodjer

public SetPlayerToTeamColor(playerid)
{
if(IsPlayerConnected(playerid))
{
    SetPlayerColor(playerid,TEAM_HIT_COLOR); // white
    /* if (PlayerInfo == 5 || PlayerInfo == 5)
        SetPlayerColor(playerid,COLOR_DBLUE);
        if (PlayerInfo == 6 || PlayerInfo == 6)
        SetPlayerColor(playerid,COLOR_BLACK);
        if (PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 3 || PlayerInfo == 3 || PlayerInfo == 2 || PlayerInfo == 1)
        SetPlayerColor(playerid,cop_color);
        if (PlayerInfo == 14 || PlayerInfo == 14)
        SetPlayerColor(playerid,COLOR_DARKNICERED);
        if (PlayerInfo == 15 || PlayerInfo == 15)
        SetPlayerColor(playerid,COLOR_GROVE); */
}
}

i ovo na dno skripte

public SaveCK()
{
new idx;
new File: file2;
while (idx < sizeof(CKInfo))
{
new coordsstring;
format(coordsstring, sizeof(coordsstring), "%s|%s|%d\n",
CKInfo,
CKInfo,
CKInfo);
if(idx == 0)
{
file2 = fopen("cfg/ck.cfg", io_write);
}
else
{
file2 = fopen("cfg/ck.cfg", io_append);
}
fwrite(file2, coordsstring);
idx++;
fclose(file2);
}
return 1;
}

i to

public SavePapers()
{
new idx;
new File: file2;
while (idx < sizeof(IRCInfo))
{
new coordsstring;
format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%s|%s|%s|%s|%s|%s|%d\n",
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo,
PaperInfo);
if(idx == 0)
{
file2 = fopen("cfg/papers.cfg", io_write);
}
else
{
file2 = fopen("cfg/papers.cfg", io_append);
}
fwrite(file2, coordsstring);
idx++;
fclose(file2);
}
return 1;
}

i ovo takodjer

public SaveFamilies()
{
new idx;
new File: file2;
while (idx < sizeof(FamilyInfo))
{
new coordsstring;
format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%s|%d|%f|%f|%f|%f|%d\n",
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo,
FamilyInfo);
if(idx == 0)
{
file2 = fopen("cfg/families.cfg", io_write);
}
else
{
file2 = fopen("cfg/families.cfg", io_append);
}
fwrite(file2, coordsstring);
idx++;
fclose(file2);
}
return 1;
}

a ovo si dodaj u forwarde

forward SetPlayerToTeamColor(playerid);
forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
forward SendIRCMessage(channel, color, string[]);
forward SaveCK();
forward SaveFamilies();
forward SavePapers();

i sad ti mora da radi.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha