malena pomoc oko errora

Započeo | MARKO |, Jun 04, 2010, 00:07:15 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1957) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1961) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1973) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1977) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1981) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1985) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1989) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1993) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1997) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2009) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2013) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2017) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2021) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2025) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2037) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2041) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2045) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2057) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2061) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(4292) : error 004: function "CrimInRange" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(4514) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5123) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5193) : error 004: function "ProxDetector" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5917) : error 004: function "ProxDetector" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5933) : error 004: function "ProxDetector" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5944) : error 004: function "ProxDetector" is not implemented

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


26 Errors.




ZASTO MI IZBACI TOLIKO ERRORA??
Poslednja Izmena: Jun 04, 2010, 01:36:58 PRE PODNE od moonwalker

jesi to nesto briso iz gamemoda ??
jer meni se to znalo dogoditi kada sam briso neke stvari

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

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;
}


To ti je za playertopoint..

forward CrimInRange(Float:radi, playerid,copid);

public CrimInRange(Float:radi, playerid,copid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(copid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
GetPlayerPos(copid, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)))
{
return 1;
}
}
return 0;
}


CrimInRange


Valjda bi ti trebalo sad radit.. A za ProxDetector neam blage

╬Devilni Vilkoâ,,¢â•¬ ovo sto si ti napisao to sve imam. bas tocno tako.

a nisam nista obrisao iz skripte nego sam samo dodao ovako;

new pdgate1;

pdgate1 = CreateObject(971,1589.053344,-1638.123168,14.122960,0.000000,0.000000,180);

if(!strcmp(cmdtext, "/otvori", true))
{
if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3)
   {
--------->  if (PlayerToPoint(15, playerid,1589.053344,-1638.123168,14.122960))  <---------------------------------------------
      {
           MoveObject(pdgate1,1599.053344,-1638.123168,14.122960, 0.8);
           SetTimer("Kapija zatvorena", 12000, 0);
           SendClientMessage(playerid, COLOR_BLUE,"Garaza je otvorena i zatvorit ce se za 7 sekundi.");
           GetPlayerName(playerid, sendername, sizeof(sendername));
           format(string, sizeof(string), "* %s uzima daljinac i otvara garazu.", sendername);
           ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
           PlayerPlaySound(playerid, 1153, 1589.053344,-1638.123168,14.122960);
      }
       else { SendClientMessage(playerid, COLOR_GREY,"Odrediste je prdaleko."); }
   }
   else return SendClientMessage(playerid, COLOR_GREY,"Nemate daljinac.");
   return 1;
}


public GateClose8()
{
     MoveObject(pdgate1,1589.053344,-1638.123168,14.122960, 0.97);
     return 1;
}



if (PlayerToPoint(15, playerid,1589.053344,-1638.123168,14.122960)) <---------kad ovo obrisem onda je sve uredu. ali onda ne mogu ta vrata koristiti. a kada ostavim to u skripti onda mi pisu te greske.
Poslednja Izmena: Jun 04, 2010, 10:32:28 PRE PODNE od filip_pnv

Citat: filip_pnv poslato Jun 04, 2010, 00:07:15 PRE PODNE
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1957) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1961) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1973) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1977) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1981) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1985) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1989) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1993) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(1997) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2009) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2013) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2017) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2021) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2025) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2037) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2041) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2045) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2057) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(2061) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(4292) : error 004: function "CrimInRange" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(4514) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5123) : error 004: function "PlayerToPoint" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5193) : error 004: function "ProxDetector" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5917) : error 004: function "ProxDetector" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5933) : error 004: function "ProxDetector" is not implemented
C:\Users\FILIP\Desktop\CroMafia\CroMafia\gamemodes\cmr.pwn(5944) : error 004: function "ProxDetector" is not implemented

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


26 Errors.




ZASTO MI IZBACI TOLIKO ERRORA??
Totije jer negdje imas viska zagradu iliti fali {}