Problem with [Include] Dynamic Circle
#1

I'm having problems with [Include] Dynamic Circle (https://sampforum.blast.hk/showthread.php?tid=601855)
When i compiler it informs that:
Quote:

E:\SA-MP\TestSV\SAMP 0.3.7 Server\gamemodes\TestCircle.pwn(261) : error 004: function "TD_DestroyCircle" is not implemented
E:\SA-MP\TestSV\SAMP 0.3.7 Server\gamemodes\TestCircle.pwn(262) : error 004: function "TD_CreateCircle" is not implemented
E:\SA-MP\TestSV\SAMP 0.3.7 Server\gamemodes\TestCircle.pwn(267) : error 004: function "TD_ActivateCircle" is not implemented
E:\SA-MP\TestSV\SAMP 0.3.7 Server\gamemodes\TestCircle.pwn(272) : error 004: function "TD_StopCircle" is not implemented
E:\SA-MP\TestSV\SAMP 0.3.7 Server\gamemodes\TestCircle.pwn(277) : error 004: function "TD_DestroyCircle" is not implemented
E:\SA-MP\TestSV\SAMP 0.3.7 Server\gamemodes\TestCircle.pwn(282) : error 004: function "TD_ResumeCircle" is not implemented
E:\SA-MP\TestSV\SAMP 0.3.7 Server\gamemodes\TestCircle.pwn(287) : error 004: function "TD_PauseCircle" is not implemented

I checked Include:
Quote:

TD_CreateCircle(playerid, text[], color, Float_pos, Float:y_pos, Float:radius, Float:diff);
TD_DestroyCircle(playerid, bool:loop = false);
TD_IsCircleCreated(playerid); // Returns the number of textdraws created for the player circle.
TD_ActivateCircle(playerid, color, speed); // Default auto-timer interval is 100 miliseconds (the bigger the "speed" parameter is, the slower is color movement of the textdraw circle (watch the video). If you set the "color" parameter to "-1", it will generate random colors (again - watch the video).
TD_StopCircle(playerid); // Will reset (stop) the color movement of the textdraw circle.
TD_ResumeCircle(playerid); // Will resume the color movement of the textdraw circle if the circle was paused.
TD_PauseCircle(playerid); // Will pause the color movement of the textdraw circle.
TD_SetCircleSlotColor(playerid, slot, color); // Use "TD_IsCircleCreated" function to make sure not to cross the maximum slot.

And my added "native" to each line:
Quote:

native TD_CreateCircle(playerid, text[], color, Float_pos, Float:y_pos, Float:radius, Float:diff);
native TD_DestroyCircle(playerid, bool:loop = false);
native TD_IsCircleCreated(playerid); // Returns the number of textdraws created for the player circle.
native TD_ActivateCircle(playerid, color, speed); // Default auto-timer interval is 100 miliseconds (the bigger the "speed" parameter is, the slower is color movement of the textdraw circle (watch the video). If you set the "color" parameter to "-1", it will generate random colors (again - watch the video).
native TD_StopCircle(playerid); // Will reset (stop) the color movement of the textdraw circle.
native TD_ResumeCircle(playerid); // Will resume the color movement of the textdraw circle if the circle was paused.
native TD_PauseCircle(playerid); // Will pause the color movement of the textdraw circle.
native TD_SetCircleSlotColor(playerid, slot, color); // Use "TD_IsCircleCreated" function to make sure not to cross the maximum slot.

I Compiler again and succeed.
But when I run samp-sever.exe it says
Quote:

Script [gamemodes / TestCircle.amx]: Run time error 19: "File or function is not found"

I tried updating all Plugins but still failed, who can help me. Please.

My English is Bad, sorry.
Reply


Messages In This Thread
Problem with [Include] Dynamic Circle - by hoanduy - 07.02.2018, 12:39
Re: Problem with [Include] Dynamic Circle - by JasonRiggs - 07.02.2018, 12:49
Re: Problem with [Include] Dynamic Circle - by hoanduy - 07.02.2018, 12:54
Re: Problem with [Include] Dynamic Circle - by JasonRiggs - 07.02.2018, 12:57
Re: Problem with [Include] Dynamic Circle - by hoanduy - 07.02.2018, 13:35
Re: Problem with [Include] Dynamic Circle - by Mugala - 08.02.2018, 10:06
Re: Problem with [Include] Dynamic Circle - by Dayrion - 08.02.2018, 10:10
Re: Problem with [Include] Dynamic Circle - by Sew_Sumi - 08.02.2018, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)