SA-MP Forums Archive
ID for Dance Floor? - 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: ID for Dance Floor? (/showthread.php?tid=425268)



ID and Object name for Dance Floor? - RodriguezFais - 25.03.2013

Hello

So, i found the ID of the dance floor object [19128] but in some reasons it wont apear on my screen [using MTA]
Any ideas?


Re: ID for Dance Floor? - LeeXian99 - 25.03.2013

It's simple, you need to change the ID after mapping, convert it.

For example:
pawn Код:
CreateObject(2114,-795.4000200,-1906.6999500,6.3000000,0.0000000,0.0000000,0.0000000); //object(basketball)(1)
You need to change it to
pawn Код:
CreateObject(19128,-795.4000200,-1906.6999500,6.3000000,0.0000000,0.0000000,0.0000000); //object(discothingy)(1)



Re: ID for Dance Floor? - RodriguezFais - 25.03.2013

Thanks


Re: ID for Dance Floor? - RodriguezFais - 27.03.2013

Now when i tried it, it wont work.. it worked on other objects tho..
What i need is the object's correct name, and it's ID.

[Again, using MTA]

thanks for the helpers!

EDIT: Maybe because i need to download more objects? maybe i dont have the new objects? :O is that the reason?


Re: ID for Dance Floor? - LeeXian99 - 27.03.2013

No, you can't. It's added by SA:MP only, but I think MTA doesn't support it. But if you want all the objects, you should try out SA:MP map editor in somewhere.