[pomoc]Error 004 ?


Započeo Simeunovic.pwn, Avgust 15, 2014, 22:27:50 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moja od 0 radili ja i drug
Detaljan opis problema:Pa izbaci mi par errora eno dole se nalaze;
Dio skripte:/
Neke slike/video za lakse dobivanje pomoci(neobavezno):Eto dole errori koje mi pokazuje ?

(54) : error 004: function "OnPlayerPause" is not implemented
(59) : error 004: function "OnPlayerUnPause" is not implemented
(6652) : error 004: function "PlayerToPoint" is not implemented
(6662) : error 036: empty statement
(6664) : error 004: function "PlayerToPoint" is not implemented
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%

trebas imati i forward i public za te funkcije.
69

Citat: C++ poslato Avgust 15, 2014, 22:29:20 POSLE PODNE
trebas imati i forward i public za te funkcije.

Mozes mi pomoci da sredim to ? Gde sta trebam da dodam da sredim to ?
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%


Citat: C++ poslato Avgust 15, 2014, 22:32:59 POSLE PODNE
Pa rekoh ti sta trebas imati.

Kako to da odradim taj public i forward ? Neki su pricali prvo kako mi trebaju neke zagradice a onda nesto 3 mozes mi pomoci da odradim to pocetnik sam ovo je od mog druga skripta al mi je dao da sredim pa ako mi mozes pomoci ?
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%

pa tim public funkcijama dodaj forward.
69

Imam ja u skripti
forward OnPlayerPause(playerid);
forward OnPlayerUnPause(playerid);
sad sam proverio :) ?
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%


Evo i to sam nasao samo vidi da li je lepo tj dali sam lepo to uradio? DA nisam tu nesto zeznuo, ako jesam mozes mi ispraviti molim te?

public OnPlayerPause(playerid)
{
if(WantedLevel[playerid] > 0 || BankaWL[playerid] > 0 || WantedPoints[playerid] > 0)
{
    wantedtajmerafk[playerid] = SetTimerEx("AFKWantedTajmer",20000, false, "i", playerid);
    SetPVarInt(playerid,"AFKSaWantedom",1);
}
/*if(PI[playerid][pJailTime] >= 1)
{
    prisontajmerafk[playerid] = SetTimerEx("AFKPrisonTajmer",10000, false, "i", playerid);
    SetPVarInt(playerid,"AFKSaPrison",1);
}*/
	SetPVarInt(playerid,"ESCTajmer",1);
	SetPlayerChatBubble(playerid, "[ AFK ]", SVETLOZUTA, 40.0, 6600000);
return 0;
}


public OnPlayerUnPause(playerid)
{
    SetPlayerChatBubble(playerid, "", COLOR_WHITE, 40.0, 500);
    SetPVarInt(playerid,"AFKSaWantedom",0);
    SetPVarInt(playerid,"ESCTajmer",0);
    if(WantedLevel[playerid] > 0)
    {
    SetPVarInt(playerid,"AFKSaWantedom",0);
    KillTimer(wantedtajmerafk[playerid]);
    }
    /*if(PI[playerid][pJailTime] >= 1)
    {
    SetPVarInt(playerid,"AFKSaPrison",0);
    KillTimer(prisontajmerafk[playerid]);
    }*/
    if(GetPVarInt(playerid,"ESCTajmer") == 1)
    {
    SetPVarInt(playerid,"ESCTajmer",0);
    }
    return 0;
}


Poslednja Izmena: Avgust 15, 2014, 22:49:03 POSLE PODNE od Simeunovic.pwn
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%

Nebumpaj updejtuj taj pause inc pa javi.
69

Citat: C++ poslato Avgust 15, 2014, 23:19:39 POSLE PODNE
Nebumpaj updejtuj taj pause inc pa javi.
Okej evo idem.
Poslednja Izmena: Avgust 15, 2014, 23:21:12 POSLE PODNE od Simeunovic.pwn
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%

Updateovao sam ga nov paused.inc i evo sada ovo pise:

C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\pawno\include\paused.inc(54) : error 004: function "OnPlayerPause" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6652) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6664) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6668) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6699) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6703) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6707) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6711) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6715) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6719) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6723) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6727) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6739) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6743) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6747) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6751) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6755) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6767) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6771) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6775) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6787) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6791) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6795) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6807) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6819) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Miloss\Desktop\SANMP\BEforNenadic\BEforNenadic\gamemodes\RGV1.pwn(6831) : error 004: function "PlayerToPoint" is not implemented
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%

jel imas i forward i public za PlayerToPoint i jel pokreces mod njegovim pawnom?
69

Evo forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z); imam to :) Pokrecem njegovim pawnom i evo public: 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;
}
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%

Moze li neko pogledat zasto mi ne radi skripta ?
SF:RP-----> IN PROGRESS......
SF:RP GM-----> 5%