• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Custom Models Error in open.mp
#1
Hello everyone, I have a small situation here. I'm creating a textdraw using a custom images and it works fine when I run the script with 0.3DL server but it doesn't work when I run it with open.mp server (custom textdraw is not showing in-game).

Also, whenever I run script with open.mp server I get this message in console:
Code:
[Info] [artwork:info] Loading artconfig.txt
[Error] [artwork:error] Model -2001 is already in use

While 0.3DL reads it right:
Code:
[artwork:crc] intro.dff CRC = 0xD7D58371
[artwork:crc] intro.txd CRC = 0xEDF7C701

I gotta say that model is the only model I'm using so there's no way it's already in use. Does anyone know what can be causing this problem?
  Reply
#2
I’m sorry for double posting but I managed to fix it so I’ll post solution here in case someone else encounters the same problem.

After creating PlayerTextDraw in OnPlayerConnect callback, I was showing them to player under the same callback. Every normal textdraw (default samp) was shown except custom one so I moved PlayerTextDrawShow under OnPlayerRequestClass and now even custom one is loading.

Somehow this removed even the error stating that model is already in use.

This can be locked.
  Reply


Forum Jump: