"PlayerToPoint"Pomoc

Započeo Zero[S], Jun 16, 2010, 13:23:16 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Idem compile i izbaci mi ovo:

C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1772) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1776) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1788) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1792) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1796) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1800) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1804) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1808) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1812) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1824) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1828) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1832) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1836) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1840) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1852) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1856) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1860) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1872) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(1876) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(3924) : error 004: function "CrimInRange" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(4181) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(4794) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(4885) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(5507) : error 004: function "IsABike" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(6678) : error 004: function "FixHour" is not implemented
C:\Documents and Settings\User\Desktop\SA-MP Server\gamemodes\BFGM.pwn(7373) : error 004: function "FixHour" is not implemented

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


26 Errors.

kako da resim to?

probaj da stavis ovo na dnu scripte

stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    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);
    if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
    {
        return 1;
    }
    return 0;
}











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


Citat: Hummer^ poslato Jun 16, 2010, 13:35:00 POSLE PODNE
probaj da stavis ovo na dnu scripte

stock PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    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);
    if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
    {
        return 1;
    }
    return 0;
}




Ne!

Negdje si nesto krivo napisao {,} itd...Pogledaj sto si zadnje radio i probaj ispraviti!
Mysterious roleplay

al prvi put dok sam compilo radilo je al sad dok sam metno jos komanda neradi



if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))

jel u redu to?
Poslednja Izmena: Jun 16, 2010, 14:53:42 POSLE PODNE od Zero[S]

Nemaš jednak broj otvorenih i zatvorenih zagrada

Sta ti pricas carlsson bo*te xD.. pa dobre su mu zagrade i sve.. bar u ovom gore
Aequam memento rebus in arduis servare mentem.

Citat: LuKsA poslato Jun 16, 2010, 17:19:10 POSLE PODNE
Sta ti pricas carlsson bo*te xD.. pa dobre su mu zagrade i sve.. bar u ovom gore

Ne govorim za ovaj PlayerToPoint šta je stavio već inaće u gamemodu nema jednak broj, tj. u tim komandama koje je stavljao kako je sam rekao.
Poslednja Izmena: Jun 16, 2010, 17:24:24 POSLE PODNE od Carlsson

Pogledaj komande koje si zadnje radio.

Oblik komande mora bit vako.

Komanda //Bilo koja
{ // Otvorio si komandu
      // Sadrzaj
} // Zatvorio si komandu

Citat: Carlsson poslato Jun 16, 2010, 17:24:16 POSLE PODNE
Citat: LuKsA poslato Jun 16, 2010, 17:19:10 POSLE PODNE
Sta ti pricas carlsson bo*te xD.. pa dobre su mu zagrade i sve.. bar u ovom gore

Ne govorim za ovaj PlayerToPoint šta je stavio već inaće u gamemodu nema jednak broj, tj. u tim komandama koje je stavljao kako je sam rekao.

Aha ispricavam se onda :D.. ja mislio da za ono gore govoris xD..

Ontopic: Nemozes nista, jedino ako imas backup/ili se sjetis sta si radio zadnje, pa izbrises to, jer ti je negdje u modu { il } zeznuto, ako neznas gdje nemozes nista xD..
Aequam memento rebus in arduis servare mentem.