problem with textdraw
#1

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

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.
Reply
#3

So native CancelSelectTextDraw are in 0.3e?
Reply
#4

yes

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

I updated to 0.3e still same problem
Reply
#6

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

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

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

I add this, but still got same

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

    CancelSelectTextDraw(playerid);
  }
}
Reply
#10

Show the new server log.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)