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.
Aj ti nama reci sto si ti sve diro tu xD ???
Ti si pravio neke nove public a nigdje nisi forward.
Inace, "SetPlayerHeatlh" ti pise ,a treba "SetPlayerHealth"
@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
Malo shvati moju recenicu ja ti ne govorim ja te pitam
Citat: [BM]Mr.Saxobeat poslato Avgust 03, 2011, 15:41:39 POSLE PODNE
Aj ti nama reci sto si ti sve diro tu xD ???
@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