SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   SA-MP 0.3.DL (https://forum.sa-mp.com/forumdisplay.php?f=90)
-   -   Custom objects not appearing (https://forum.sa-mp.com/showthread.php?t=667138)

YouShootIDodge 09/06/2019 02:34 PM

Custom objects not appearing
 
I've been trying to make the objects work, i've also tried using the 'kdff' tool to export them with SAMP col but they appear as question marks.

artconfig:
Code:

AddSimpleModel (1, 0, -2001, "ak47.dff", "ak47.txd");
Code for creation:
Code:

CreateObject (-2001, x, y, z, 0.0, 0.0, 0.0);
Here are the FILES

Kasis 09/06/2019 09:44 PM

Re: Custom objects not appearing
 
Works fine for me, I think base ID should not be 0 that is the issue.
https://wiki.sa-mp.com/wiki/AddSimpleModel

Try,

AddSimpleModel(-1, 2000, -2001, "ak47.dff", "ak47.txd");

Mrhind 10/06/2019 04:22 AM

Re: Custom objects not appearing
 
I'm not sure but... the weapons don't appear because they have an "effect", you have to erase that "effect", and then convert the object back to dff.

PD: In any case, here is your file, it is already repaired.


Download Files

Example:
https://i.imgur.com/3EUohWx.png

YouShootIDodge 10/06/2019 08:57 AM

Re: Custom objects not appearing
 
Thanks! REPPED Both!


All times are GMT. The time now is 04:02 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.