Post: This code crashes the game while it loading, why?
01-21-2017, 01:40 AM #1
(adsbygoogle = window.adsbygoogle || []).push({});
    sayisgay( player )
{
foreach( player_inlevel in level.players )
{
player_inlevel thread hintmessage( "^5 " + ( player.name + " is gay" ) );
}

}

Whenever I put this code anywhere, it always seems to crash the game. Does anyone know why this could be happening?
01-21-2017, 04:37 AM #2
Originally posted by Daniel41550 View Post
    sayisgay( player )
{
foreach( player_inlevel in level.players )
{
player_inlevel thread hintmessage( "^5 " + ( player.name + " is gay" ) );
}

}

Whenever I put this code anywhere, it always seems to crash the game. Does anyone know why this could be happening?


Load this SPRX with an EBOOT: You must login or register to view this content.
Most of the time it will spit out your answer to Target Manager.
01-21-2017, 05:09 AM #3
Originally posted by Daniel41550 View Post
    sayisgay( player )
{
foreach( player_inlevel in level.players )
{
player_inlevel thread hintmessage( "^5 " + ( player.name + " is gay" ) );
}

}

Whenever I put this code anywhere, it always seems to crash the game. Does anyone know why this could be happening?


    sayisgay()
{
foreach(player in level.players)
{
allclientsprint(+self.name " ^2Is Gay");
}
}


try that buddy
Last edited by marmar19 ; 01-21-2017 at 05:39 AM.
01-21-2017, 05:01 PM #4
Originally posted by Nothingbutbread View Post
Load this SPRX with an EBOOT: You must login or register to view this content.
Most of the time it will spit out your answer to Target Manager.

This should be useful when adding other things to my menu, thank you!

Originally posted by marmar19 View Post
    sayisgay()
{
foreach(player in level.players)
{
allclientsprint(+self.name " ^2Is Gay");
}
}


try that buddy

I moved the + to the right location, but I still froze. I noticed that I could add anything and it would freeze for some reason, I don't think it's a problem with the code though.

Problem solved.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo