SA-MP Forums Archive
SAMP 0.3c objects won't show - 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: SAMP 0.3c objects won't show (/showthread.php?tid=566346)



SAMP 0.3c objects won't show - Derexi - 05.03.2015

I'm using the correct object IDs (I've double-checked with the SA-MP Wiki), but they don't show up. I'm using Incognito's Streamer plugin (CreateDynamicObject). I made the map in MTA and converted properly and the object IDs are all perfect but the objects just don't load. Here's some of my code:

pawn Code:
CreateDynamicObject(19005,255.0000000,207.1999960,2486.8999020,18.7999950,0.0000000,0.0000000); //
CreateDynamicObject(19005,255.0000000,207.3999930,2499.0000000,18.7999950,0.0000000,0.0000000); //
CreateDynamicObject(18789,255.0000000,60.7999990,2501.3000480,60.7000000,0.0000000,0.0000000); //
CreateDynamicObject(18789,255.0000000,61.0999980,2485.3000480,60.7000000,0.0000000,0.0000000); //
Object 19005 is supposed to be a ramp (rampT4) and 18789 is supposed to be a road (MRoad150m). Also, I have the latest version of the streamer plugin and the include and plugin versions both match. Anyone?

EDIT: I've just tried plain old CreateObject and that doesn't work either... :S



AW: SAMP 0.3c objects won't show - Kaliber - 05.03.2015

Quote:
Originally Posted by Derexi
View Post
2486.8999020
Well, this is a height of 2486...are you really sure, that these coords are right?


Re: AW: SAMP 0.3c objects won't show - Derexi - 05.03.2015

Quote:
Originally Posted by Kaliber
View Post
Well, this is a height of 2486...are you really sure, that these coords are right?
Wow, I didn't even notice! My coordinates have been messed up somehow throughout the conversion process. Thanks!