[Pomoc] oko errora

Započeo Scripter_Buduci, Oktobar 24, 2016, 09:38:54 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Neka moja
Detaljan opis problema:e ovako ubacio sam anticheat zastitu i kada kompajlujem skriptu izadju mi errori koje dolje okacim
Dio skripte:
[pawn]public Vulkanizer1(playerid)
{
    AC_BS_GivePlayerMoney(playerid, -200);
    TogglePlayerControllable(playerid, 1);//error 20410
   SetCameraBehindPlayer(playerid);
   SCM(playerid, -1, "Promenili ste gume, promena guma kosta 200$");
   return 1;
}
public eventcountgo()
{
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
      if(ecp == 1 || ecp == 2 || ecp == 3 || ecp == 4 || ecp == 5 || ecp == 6 || ecp == 7 || ecp == 8 || ecp == 9 || ecp == 10 || ecp == 11 || ecp == 12 || ecp == 13 || ecp == 14 || ecp == 15 || ecp == 16 || ecp == 17 || ecp == 18 || ecp == 19 || ecp == 20 || ecp == 21 || ecp == 22 )
      {
         mjesta = 0;
           vorcp = 0;
            GameTextForPlayer(i,"~n~~g~-~y~]~g~-~g~START~g~-~y~]~g~-",1000,3);
         DestroyDynamicObject(lsdok[2]); DestroyDynamicObject(ddrive[4]); DestroyDynamicObject(ddrive[5]); DestroyDynamicObject(beachhell[1]); DestroyDynamicObject(beachhell[2]); DestroyDynamicObject(ddrive[0]); DestroyDynamicObject(srace[3]); DestroyDynamicObject(KartO[0]); DestroyDynamicObject(Relly1[0]);
         AC_BS_TogglePlayerControllable(i, 1);//error 20767 to
      }
forward Tutorial1(playerid);
public Tutorial1(playerid)
{
    TextDrawHideForPlayer(playerid, TutorialSledi[0]); TextDrawHideForPlayer(playerid, TutorialSledi[1]);
    TextDrawHideForPlayer(playerid, TutorialSledi[2]); TextDrawHideForPlayer(playerid, TutorialSledi[3]);
    TextDrawHideForPlayer(playerid, TutorialSledi[4]); TextDrawHideForPlayer(playerid, TutorialSledi[5]);
    TextDrawHideForPlayer(playerid, TutorialSledi[6]);
   KillTimer(TutorialTimer[playerid]); SetPlayerInterior(playerid, 0);
   AC_BS_TogglePlayerControllable(playerid, 0);//ovo je eror 21881,ostali errori su isti kao ovaj// SetPlayerVirtualWorld(playerid, 3475);
    AC_BS_SetPlayerPos(playerid, 1167.1591,-1699.5642,22.2344); SetPlayerFacingAngle(playerid, 0.0);
   SetPlayerCameraPos(playerid, 1165.29, -1697.51, 46.34); SetPlayerCameraLookAt(playerid, 1168.42, -1700.94, 44.48);
   TextDrawShowForPlayer(playerid,Tut[0][playerid]); OcistiChat(playerid,80);
   TextDrawShowForPlayer(playerid,Tut[1][playerid]); TextDrawShowForPlayer(playerid,Tut[2][playerid]);
   TextDrawShowForPlayer(playerid,Tut[3][playerid]); TextDrawShowForPlayer(playerid,Tut[4][playerid]);
   TextDrawShowForPlayer(playerid,Tut[5][playerid]); TextDrawShowForPlayer(playerid,Tut[6][playerid]);
   TextDrawShowForPlayer(playerid,Tut[7][playerid]); TextDrawShowForPlayer(playerid,Tut[8][playerid]);
   TextDrawShowForPlayer(playerid,Tut[9][playerid]);
   TutorialTimer2[playerid] = SetTimerEx("Tutorial2",7000, true, "d", playerid);
   return 1;
}[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://prntscr.com/cy6d8t
To što radiš nastavi
i nikada nemoj prestat'
i kad oznoje se tijela
i opet to budeš htjela
ti samo pritisni restart !

Samo trebam upaljač
u plamenu da gori
prst na obaraču,
a kaže mi da me voli
i gleda me dok smo nagli
u očima joj magija
ta mala je vrag i ona
će mi srce slomit'



Izbrisi to AC_BS ISPRED il ga definiši

[pawn]#define SetVehicleHealth      AC_BS_SetVehicleHealth
#define SetPlayerArmour       AC_BS_SetPlayerArmour
#define SetPlayerHealth       AC_BS_SetPlayerHealth
#define ResetPlayerWeapons    AC_BS_ResetPlayerWeapons
#define GivePlayerWeapon      AC_BS_GivePlayerWeapon
#define SetVehiclePos         AC_BS_SetVehiclePos
#define SetPlayerPos          AC_BS_SetPlayerPos
#define GetPlayerMoney        AC_BS_GetPlayerMoney
#define ResetPlayerMoney      AC_BS_ResetPlayerMoney
#define GivePlayerMoney       AC_BS_GivePlayerMoney
#define PutPlayerInVehicle             AC_BS_PutPlayerInVehicle
#define TogglePlayerControllable       AC_BS_TogglePlayerControllable//ovdje?
#define TogglePlayerSpectating            AC_BS_TogglePlayerSpectating[/pawn]
pa zar nije definisa ovdje?
To što radiš nastavi
i nikada nemoj prestat'
i kad oznoje se tijela
i opet to budeš htjela
ti samo pritisni restart !

Samo trebam upaljač
u plamenu da gori
prst na obaraču,
a kaže mi da me voli
i gleda me dok smo nagli
u očima joj magija
ta mala je vrag i ona
će mi srce slomit'

Citat: Scripter_Buduci poslato Oktobar 24, 2016, 20:09:55 POSLE PODNE
[pawn]#define SetVehicleHealth      AC_BS_SetVehicleHealth
#define SetPlayerArmour       AC_BS_SetPlayerArmour
#define SetPlayerHealth       AC_BS_SetPlayerHealth
#define ResetPlayerWeapons    AC_BS_ResetPlayerWeapons
#define GivePlayerWeapon      AC_BS_GivePlayerWeapon
#define SetVehiclePos         AC_BS_SetVehiclePos
#define SetPlayerPos          AC_BS_SetPlayerPos
#define GetPlayerMoney        AC_BS_GetPlayerMoney
#define ResetPlayerMoney      AC_BS_ResetPlayerMoney
#define GivePlayerMoney       AC_BS_GivePlayerMoney
#define PutPlayerInVehicle             AC_BS_PutPlayerInVehicle
#define TogglePlayerControllable       AC_BS_TogglePlayerControllable//ovdje?
#define TogglePlayerSpectating            AC_BS_TogglePlayerSpectating[/pawn]
pa zar nije definisa ovdje?
Treba to obrnuto decko 😊 razmisli malo 😀

@[EM] Tosic ãƒ,,  ovako je stojalo dok je bio JB-Junk Buster zastita,a kada sam stavio na AC_BS_ ima errore??..
To što radiš nastavi
i nikada nemoj prestat'
i kad oznoje se tijela
i opet to budeš htjela
ti samo pritisni restart !

Samo trebam upaljač
u plamenu da gori
prst na obaraču,
a kaže mi da me voli
i gleda me dok smo nagli
u očima joj magija
ta mala je vrag i ona
će mi srce slomit'

Resio sam problem moze pod lock.
To što radiš nastavi
i nikada nemoj prestat'
i kad oznoje se tijela
i opet to budeš htjela
ti samo pritisni restart !

Samo trebam upaljač
u plamenu da gori
prst na obaraču,
a kaže mi da me voli
i gleda me dok smo nagli
u očima joj magija
ta mala je vrag i ona
će mi srce slomit'