Code crashing
#1

So its quite simple this code is making me crash for some reason

PHP код:
#define MAX_TOYS 15000
CreateToyHere(Float:sX,Float:sY,Float:sZ,Float:sA) {
    for(new 
cID 0cID MAX_TOYScID++) {
        if(
ToyInfo[cID][ConeX] == 0.0 && ToyInfo[cID][ConeX] == 0.0 && ToyInfo[cID][ConeX] == 0.0) {
            
ToyInfo[cID][ConeX] = sX;
            
ToyInfo[cID][ConeY] = sY;
            
ToyInfo[cID][ConeZ] = sZ;
            
ToyInfo[cID][ConeAngle] = sA;
            
ToyInfo[cID][ConeObject] = CreateDynamicObject(973sXsYsZ0,0, -sA);
        }
    }
    return 
true;

Reply


Messages In This Thread
Code crashing - by Squirrel - 19.01.2016, 01:11
Re: Code crashing - by Prokill911 - 19.01.2016, 01:22
Re: Code crashing - by Jefff - 19.01.2016, 01:22
Re: Code crashing - by Prokill911 - 19.01.2016, 01:25
Re: Code crashing - by Squirrel - 19.01.2016, 01:26
Re: Code crashing - by Prokill911 - 19.01.2016, 01:36

Forum Jump:


Users browsing this thread: 3 Guest(s)