Post: MW2 Plataform
04-10-2015, 02:09 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I've been trying to use a plataform to create a modded lobby for a while and now I finally got a code working and everything, but I can't use them, they are like phantom, so I need help from you guys, I need it this way because i'm using dvars to set it's position on different places on every map so yh, here is the code, if you guys could tell me what is wrong, thx a lot!


     spawnplat(location)
{
while (isDefined(self.spawnedcrate[0][0]))
{
i = -3;
while (i < 3)
{
d = -3;
while (d < 3)
{
self.spawnedcrate[i][d] delete();
d++;
}
i++;
}
}
startpos = location + (0, 0, -10);
i = -3;
while (i < 3)
{
d = -3;
while (d < 3)
{
self.spawnedcrate[i][d] = spawn("script_model", startpos + (d * 40, i * 35, 0));
self.spawnedcrate[i][d] setmodel("com_plasticcase_friendly");
d++;
}
i++;
}
wait 1;
}
(adsbygoogle = window.adsbygoogle || []).push({});
07-25-2015, 04:39 PM #2
DaddyMeth
Little One
cancer

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo