07.02.2018, 12:39
I'm having problems with [Include] Dynamic Circle (https://sampforum.blast.hk/showthread.php?tid=601855)
When i compiler it informs that:
I checked Include:
And my added "native" to each line:
I Compiler again and succeed.
But when I run samp-sever.exe it says
I tried updating all Plugins but still failed, who can help me. Please.
My English is Bad, sorry.
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 |
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. |
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. |
But when I run samp-sever.exe it says
Quote:
Script [gamemodes / TestCircle.amx]: Run time error 19: "File or function is not found" |
My English is Bad, sorry.