SA-MP Forums Archive
[Problem] Add a object in SAMP - 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] Add a object in SAMP (/showthread.php?tid=383681)



[Problem] Add a object in SAMP - ScriptColor - 08.10.2012

Hello,

I'm french, sorry my bad english.

I create a object and add in SAMPCOL, SAMP.IMG and SAMP.ide.

Command for create object, this error:

Quote:

[13:26:18] Warning(opcode 0x107): Exception 0xC0000005 at 0x59F8B4

My line in SAMP.ide

Код:
# -----------------------------------
# Cafetiиre
# -----------------------------------
19601, cafetiere, cafetiere, 100, 0
The code previous:

Код:
end
tobj
end
path
end
2dfx
end
#-----------------------------------------------------------------
# Animated (ANIM) Objects
# NOTE: you cannot have more than three ANIM objects listed below.
#-----------------------------------------------------------------
anim
19901, AnimTube, MatTextures, AnimTube, 299, 0
end
txdp
end
Thanx'


Re : [Problem] Add a object in SAMP - TheSpaggiari - 08.10.2012

First of all, you shall add your model to the custom.img and custom.ide files, with the following code:

19901, cafetiere, cafetiere, 299, 0

If you still get the warning opcode, check the .col file, something is probably wrong in here.

__________

D'abord, tu devrais ajouter le modиle aux fichiers custom.img et custom.ide, avec le code suivant:

19901, cafetiere, cafetiere, 299, 0

Si tu obtiens encore le warning opcode, vйrifie le fichier .col, il y a sыrement une merde dedans.