[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:
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[i] == 1 || ecp[i] == 2 || ecp[i] == 3 || ecp[i] == 4 || ecp[i] == 5 || ecp[i] == 6 || ecp[i] == 7 || ecp[i] == 8 || ecp[i] == 9 || ecp[i] == 10 || ecp[i] == 11 || ecp[i] == 12 || ecp[i] == 13 || ecp[i] == 14 || ecp[i] == 15 || ecp[i] == 16 || ecp[i] == 17 || ecp[i] == 18 || ecp[i] == 19 || ecp[i] == 20 || ecp[i] == 21 || ecp[i] == 22 )
		{
			mjesta = 0;
        	vorcp[i] = 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;
}

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

#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

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
#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

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'