Zasto fatal error..

Započeo [MX] MineCraft Kruno1407 SoaD Macaskill.cpp, Jun 12, 2010, 19:01:04 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

sada sam sve preveo i 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(2098) : 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(2138) : 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

pomozite kako znate i umijete molim vas!!

ides CTRL + G i jedna po jedan broj sto ti je u zagradi i popravljas koordinate nesto nisi dobro unio kreni ispocetka










Real-Life informacije



Ime : Vedad
Prezime : Fetahovic
Nadimak : Dedica
Zanimanje : Zigolo
Pol : Musko
Godine : 17







BS i ostale informacije



Rank :
Profil : Click Skype : Vedad_Phantoom CH-RP : ex Head Admin CH-FPS : ex Head Admin CH status : Legenda



ovo dodaj u forwarde

forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
forward SetPlayerToTeamColor(playerid);

a ovo na dno skripte

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


i ovo na dno skripte takodjer


public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    if(IsPlayerConnected(playerid))
   {
      new Float:oldposx, Float:oldposy, Float:oldposz;
      new Float:tempposx, Float:tempposy, Float:tempposz;
      GetPlayerPos(playerid, oldposx, oldposy, oldposz);
      tempposx = (oldposx -x);
      tempposy = (oldposy -y);
      tempposz = (oldposz -z);
      //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
      if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
      {
         return 1;
      }
   }
   return 0;
}



i sad mora da radi. 100% provjereno da radi. garantiram



Ma nije uoce u tomeee...negdje si nasto krivo stavio ili {,}  :D
Mysterious roleplay


Citat: Kruno1407 poslato Jun 12, 2010, 23:55:44 POSLE PODNE
sad treba trazit gdje..;D

Pogledaj sta si zadnje ubaciovao ili radio itd...Negdje si nesto krivo napravio!
Mysterious roleplay