SA-MP Forums Archive
problem with textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: problem with textdraw (/showthread.php?tid=346722)



problem with textdraw - N0FeaR - 29.05.2012

Anyone know whats the problem?

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[20:32:00] filterscripts = ""  (string)
[20:32:00] 
[20:32:00] Server Plugins
[20:32:00] --------------
[20:32:00]  Loading plugin: mysql.dll
[20:32:00]  SA:MP MySQL Plugin 1.2.1 Loaded.
[20:32:00]   Loaded.
[20:32:00] MySQL: Query thread running. Thread safe: Yes.
[20:32:00]  Loading plugin: streamer.dll
[20:32:00] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[20:32:00]   Loaded.
[20:32:00]  Loading plugin: sscanf.dll
[20:32:00] 

[20:32:00]  ===============================

[20:32:00]       sscanf plugin loaded.     

[20:32:00]    © 2009 Alex "******" Cole

[20:32:00]    0.3d-R2 500 Players "dnee"

[20:32:00]  ===============================

[20:32:00]   Loaded.
[20:32:00]  Loading plugin: audio.dll
[20:32:00] 

*** Audio Plugin v0.5 by Incognito loaded ***

[20:32:00]   Loaded.
[20:32:00]  Loading plugin: nativechecker.dll
[20:32:00]   Loaded.
[20:32:00]  Loaded 5 plugins.

[20:32:00] 
[20:32:00] Filterscripts
[20:32:00] ---------------
[20:32:00]   Loaded 0 filterscripts.

[20:32:00]    Error: Function not registered: 'CancelSelectTextDraw'
[20:32:00] Script[gamemodes/RGRP.amx]: Run time error 19: "File or function is not found"
[20:32:00] Number of vehicle models: 0



Re: problem with textdraw - Jonny5 - 29.05.2012

thats a bit of an odd error

make sure you have all the latest 0.3e includes.

im not sure but i think that error means its missing the
native CancelSelectTextDraw(......)
defined in one of the includes.


Re: problem with textdraw - N0FeaR - 29.05.2012

So native CancelSelectTextDraw are in 0.3e?


Re: problem with textdraw - Jonny5 - 29.05.2012

yes

https://sampwiki.blast.hk/wiki/CancelSelectTextDraw
This function was added in SA-MP 0.3e and will not work in earlier versions!


Re: problem with textdraw - N0FeaR - 29.05.2012

I updated to 0.3e still same problem


Re: problem with textdraw - Face9000 - 29.05.2012

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
I updated to 0.3e still same problem
Recompile your gamemode.


Re: problem with textdraw - N0FeaR - 29.05.2012

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Recompile your gamemode.
I did, like 3 times with 0.3e.


Re: problem with textdraw - TheDominator - 29.05.2012

This should help: https://sampforum.blast.hk/showthread.php?tid=328257


Re: problem with textdraw - N0FeaR - 01.06.2012

I add this, but still got same

pawn Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
  if (clickedid != Text:INVALID_TEXT_DRAW)
  {
    /*
      -- other code --
    */

    CancelSelectTextDraw(playerid);
  }
}



Re: problem with textdraw - MadeMan - 01.06.2012

Show the new server log.