I sincerely don't know nothing about programation but I want to find an function to spawn items.
Something like this:
function XSetup.PowerStruggle.multiplayer_ps_refinery.OnNewMap(mapRules, mapName)
LogAlways("[PGCX] Spawning Custom Vehicles for Map.");
XAddEntity(
{
class = "GaussRifle";
name = "GaussRifle";
orientation = { x=0, y=0, z=160 };
position = { x=2654.547, y=2556.16, z=420.9594 };
properties = {
Modification = "GaussRifle";
Respawn = {
bAbandon = 1;
bRespawn = 1;
bUnique = 1;
nAbandonTimer = 5;
nTimer = 5;
};
};
} );
XSetup.PowerStruggle.unknown.OnNewMap(mapRules, mapName);
end
I used this from a old Xastrada.lua
My question is if something like this already exists?
And sorry for my ignorance
❤️ 0
https://k62.kn3.net/taringa/6/5/A/A/F/0/O_ELIAS_O/E44.png" style="max-width: 100% cursor: pointer;">
And I must write to other axis (or axle. Sorry my english)
Is this a bug?
https://k62.kn3.net/taringa/8/E/3/F/3/A/O_ELIAS_O/5EE.jpg" style="max-width: 100% cursor: pointer;">