[POMOC] Stvarno nerazumem zasto previse errora

Započeo Lukks, Avgust 03, 2011, 15:18:52 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moj GM
Detaljan opis problema:imam ove errore ako mozetee da mi objasnite zasto.Hvala :)
Dio skripte:ubacio sam dole
Neke slike/video za lakse dobivanje pomoci(neobavezno)://


Citat
//#define FILTERSCRIPT

#include <a_samp>
#include <o_Xtreamer>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
   print("\n--------------------------------------");
   print(" Blank Filterscript by your name here");
   print("--------------------------------------\n");
   return 1;
}

public OnFilterScriptExit()
{
   return 1;
}

#else

main()
{
   print("\n----------------------------------");
   print(" Blank Gamemode by your name here");
   print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
   STO_Start();
   SetGameModeText("Blank Script");
   AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
   return 1;
}

public OnGameModeExit()
{
    STO_End();
   return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
   SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
   SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
   SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
   return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
   if (strcmp("/dobavljac", cmdtext, true, 10) == 0)
   {
   CreateCheckpointToStream(1958.3783, 1343.1572, 15.3746, 2.5, 30);
      return 1;
     }
  if (strcmp("/helt", cmdtext, true, 10) == 0)
   {
      SetPlayerHealth(playerid, 50);
   }
   return 0;
}
public OnPlayerEnterStreamCheckpoint(playerid,checkpointid)
{
{
    if(checkpointid == 0)
    {
        GameTextForPlayer(playerid,"~w~Checkpoint ~r~1",5000,5);
        GivePlayerWeapon(playerid, 26, 500);
       GivePlayerWeapon(playerid, 356, 500);
        SetTimer("oruzije" , 15000, false);
        DestroyStreamedCheckpoint(0);
    return 1;
    }
    if(checkpointid == 1)
    {
       GivePlayerWeapon(playerid, 355, 500);
        GameTextForPlayer(playerid,"~w~Checkpoint ~r~2",5000,5);
        AddStaticVehicle(350, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);
        SetPlayerHeatlh(playerid, 100);
    }
    return 1;
}

public OnPlayerLeaveStreamCheckpoint(playerid,checkpointid)
{
    return 1;
}
public OnPlayerEnterStreamRCheckpoint(playerid,checkpointid)
{
    return 1;
}
public OnPlayerLeaveStreamRCheckpoint(playerid,checkpointid)
{
    return 1;
}
forward oruzije()
public oruzije()
{
CreateCheckpointToStream(1968.3783, 1343.1572, 15.3746, 2.5, 30);
}
public OnPlayerEnterStreamCheckpoint(playerid,checkpointid)
{
    return 1;
}

public OnPlayerLeaveStreamCheckpoint(playerid,checkpointid)
{
    return 1;
}
public OnPlayerEnterStreamRCheckpoint(playerid,checkpointid)
{
    return 1;
}
public OnPlayerLeaveStreamRCheckpoint(playerid,checkpointid)
{
    return 1;
}

Evo pa vi vidite

CitatC:\Documents and Settings\Korisnik\Desktop\SAMP\pawno\include\o_Xtreamer.inc(478) : error 004: function "OnPlayerLeaveStreamCheckpoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\SAMP\pawno\include\o_Xtreamer.inc(484) : error 004: function "OnPlayerEnterStreamRCheckpoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\SAMP\pawno\include\o_Xtreamer.inc(490) : error 004: function "OnPlayerLeaveStreamRCheckpoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(60) : warning 217: loose indentation
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(62) : warning 217: loose indentation
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(66) : warning 217: loose indentation
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(76) : warning 217: loose indentation
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(78) : warning 217: loose indentation
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(85) : error 017: undefined symbol "SetPlayerHeatlh"
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(90) : warning 225: unreachable code
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(90) : warning 217: loose indentation
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(90) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(90) : error 004: function "OnPlayerLeaveStreamCheckpoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(94) : warning 225: unreachable code
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(94) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(94) : error 004: function "OnPlayerEnterStreamRCheckpoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(98) : warning 225: unreachable code
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(98) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(98) : error 004: function "OnPlayerLeaveStreamRCheckpoint" is not implemented
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(102) : warning 225: unreachable code
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(102) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(102) : error 017: undefined symbol "oruzije"
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(103) : error 001: expected token: ";", but found "public"
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(103) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(103) : error 017: undefined symbol "oruzije"
C:\Documents and Settings\Korisnik\Desktop\SAMP\gamemodes\helth.pwn(103) : fatal error 107: too many error messages on one line

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


16 Errors.


Ti si pravio neke nove public a nigdje nisi forward.

Inace, "SetPlayerHeatlh" ti pise ,a treba "SetPlayerHealth"


Server IP: 193.192.58.82:7782
Forum: www.balkan-underline.info


@saxobeat stvarno si mi pomogo -.- sto se javljas kad ne znas                                               ti publici su iz tog strimera na pocetku i nisam siguran dal treba da ih forward,al ove iz timera sam forward


@saxo vid stvarno sry brate mislio sam sto kao zasto :D a i zbog ovih ociju mi se ucinilo xD a nisaM nista menjo moja je skripta samo sam skino INC sa sajta pa sam ubacio publice