Post: Whats wrong with this code?
08-28-2011, 07:38 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I am trying to make it so it does these two thread every time time you die and spawn back. But this code just freezes my PS3. And or says exceeded maximum string variables. How do I make it so it does threads on every spawn??

    doEverySpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self thread allperk();
self thread DoWeps();
}
wait 0.05;
}
(adsbygoogle = window.adsbygoogle || []).push({});
08-29-2011, 02:19 AM #2
Kane500
< ^ > < ^ >
Originally posted by HeAdsWillRoLL View Post
I am trying to make it so it does these two thread every time time you die and spawn back. But this code just freezes my PS3. And or says exceeded maximum string variables. How do I make it so it does threads on every spawn??

    doEverySpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("death");
self thread allperk();
self thread DoWeps();
}
wait 0.05;
}


Try that......


    doEverySpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("death");
self thread allperk();
self thread DoWeps();
}
wait 0.05;
}
08-29-2011, 07:15 AM #3
Originally posted by kane212v2isgay View Post
Try that......


    doEverySpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("death");
self thread allperk();
self thread DoWeps();
}
wait 0.05;
}


Tried it, doesn't give me anything at all. But it doesn't freeze though lol.
08-29-2011, 01:56 PM #4
Kane500
< ^ > < ^ >
Originally posted by HeAdsWillRoLL View Post
Tried it, doesn't give me anything at all. But it doesn't freeze though lol.


Try this. Don't know if it will work.

    doEverySpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("spawned_player");
self thread allperk();
self thread DoWeps();
}
wait 0.05;
}
08-29-2011, 06:26 PM #5
Originally posted by kane212v2isgay View Post
Try that......


    doEverySpawn()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("death");
self thread allperk();
self thread DoWeps();
}
wait 0.05;
}


This didn't give them on the first spawn but once I died I got them, then second death it froze.
08-29-2011, 10:28 PM #6
Kane500
< ^ > < ^ >
Originally posted by HeAdsWillRoLL View Post
This didn't give them on the first spawn but once I died I got them, then second death it froze.


God damn...... Also you need to thread that on init not player spawned.
08-30-2011, 07:57 PM #7
Originally posted by kane212v2isgay View Post
God damn...... Also you need to thread that on init not player spawned.


Still can't get it working. I put it under init doesn't give them at all.
09-01-2011, 03:24 AM #8
Kane500
< ^ > < ^ >
Originally posted by HeAdsWillRoLL View Post
Still can't get it working. I put it under init doesn't give them at all.


Send me the patch and i'll try to fix.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo