custom.img ? How to use ? - 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: custom.img ? How to use ? (
/showthread.php?tid=337685)
custom.img ? How to use ? -
Kutter - 27.04.2012
Hello all,
if I add objects in the custom.img, how I can use the object in game ? How I can have the ID of the object to do a CreateObjec(...) ?
Thanks for reading.
Re: custom.img ? How to use ? -
Falco-Ger - 27.04.2012
wouldn't that require all your users use have that changed img file?
offtopic:
anyway, nice bt avatar
Re: custom.img ? How to use ? -
ViniBorn - 27.04.2012
I'm not sure, but I think the CreateObject will not give you a correct return
Re: custom.img ? How to use ? -
Vince - 27.04.2012
Objects need to be defined in the custom.ide file. And yes, you'll need to distribute the files to your players yourself.
Код:
objs
#paste object identifiers beneath this line
#format: object id, dff file, txd file, draw distance, flags
end
tobj
end
path
end
2dfx
end
anim
end
txdp
end
Re : custom.img ? How to use ? -
Kutter - 27.04.2012
Thanks Vince !