Quote from: Sebastian on Dec 05, 2025, 09:46 PMthank you! much appreciatedQuote from: NASCAR 2025 on Dec 02, 2025, 04:26 AMi have zero issues regarding adding custom objects but how do you add them without xml? i have never been able to bring an custom object without an xml, i can spawn normal vicecity objects without that but not custom! thanks in advance
There is the CreateObject function which creates dynamic objects live. Check the wiki.
But, keep in mind that you must add 6000 to the custom object id you declare in store/objects/.xml.
^ same as for maps.xml
(ex: if the id you declare is 133, then the id you can spawn the object with is 6133)
If you tried the function but it didn't work, make sure you used the right values for parameters.CreateObject( model, world, pos, alpha )
If you still don't manage to make it work, please share a video, or tell us the steps you did. (plus the files)
Quote from: NASCAR 2025 on Dec 02, 2025, 04:26 AMi have zero issues regarding adding custom objects but how do you add them without xml? i have never been able to bring an custom object without an xml, i can spawn normal vicecity objects without that but not custom! thanks in advance
CreateObject( model, world, pos, alpha )


Quote from: Adrenaline on Nov 27, 2025, 06:51 PMMy question is, has there been a way to encrypt the store on the servers?You can compile your client side scripts but that's all there is to it.
Quote from: (vG)DesTroYeR^ on Nov 30, 2025, 02:49 PMThe VC:MP client only runs Squirrel so that is not possible.Quote from: Adrenaline on Nov 27, 2025, 06:51 PMMy question is, has there been a way to encrypt the store on the servers?
i guess u need to turn your all script into plugins .so or .dll based upon operating system.
thats a smart idea btw, but each time you need to modify your script, you have to re-crypt it
