Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Problem with [Include] Dynamic Circle

$
0
0
I'm having problems with [Include] Dynamic Circle (http://forum.sa-mp.com/showthread.php?t=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:x_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:x_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.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>