09-19-2013, 08:18 PM
I want to have a section of script that temporarily makes it so that the player is forced to crouch.
Running this at any point in the script causes any script code further along the line to simply not run at all, putting the map at a complete standstill. I'm not sure why this is.
Are while loops supposed to risk freezing up the entire script file?
PHP Code:
while(OnyourKnees >= 1)
{
SetPlayerCrouching(true);
}
Running this at any point in the script causes any script code further along the line to simply not run at all, putting the map at a complete standstill. I'm not sure why this is.
Are while loops supposed to risk freezing up the entire script file?