Crash
#5

Код:
global ClassSelectionUpdate()
{
	new t=GetTickCount();
    new Float:x,Float:y;
	for(new i=0;i<PlayersSelectingClass;i++)
	{
	    if(IsValidPlayer(PlayerClassSelectionList[i]) && SelectingClass[PlayerClassSelectionList[i]])
	    {
	        if(ClassAngle[PlayerClassSelectionList[i]]>360.0)
	            ClassAngle[PlayerClassSelectionList[i]]-=360.0;

         	x=(4.5*floatsin(-ClassAngle[PlayerClassSelectionList[i]],degrees))+RandomClassPositions[ClassInfo[PlayerClassSelectionList[i]][0]][cPos][0];
			y=(7.0*floatcos(-ClassAngle[PlayerClassSelectionList[i]],degrees))+RandomClassPositions[ClassInfo[PlayerClassSelectionList[i]][0]][cPos][1];
            SetPlayerCameraPos(PlayerClassSelectionList[i],x,y,RandomClassPositions[ClassInfo[PlayerClassSelectionList[i]][0]][cPos][2]+2.0);
		    SetPlayerCameraLookAt(PlayerClassSelectionList[i],RandomClassPositions[ClassInfo[PlayerClassSelectionList[i]][0]][cPos][0],RandomClassPositions[ClassInfo[PlayerClassSelectionList[i]][0]][cPos][1],
		    	RandomClassPositions[ClassInfo[PlayerClassSelectionList[i]][0]][cPos][2]+1.0);
            ClassAngle[PlayerClassSelectionList[i]]+=0.5;
	    }
	}
	debugf(3,"ClassSelectionUpdate(): %dms, PlayersSelectingClass=%d",GetTickCount()-t,PlayersSelectingClass);
	return 1;
}
But i don't think that's the problem, because it was working and i never changed it.
It seems to be a problem from the website that i'm using to host :/
Because when i start selecting team i receive an advertissing text
Reply


Messages In This Thread
Crash - by DeMoX - 03.08.2013, 06:43
Re: Crash - by DeMoX - 03.08.2013, 18:54
Re: Crash - by DeMoX - 03.08.2013, 22:45
Re: Crash - by Red_Dragon. - 03.08.2013, 23:52
Re: Crash - by DeMoX - 04.08.2013, 00:36

Forum Jump:


Users browsing this thread: 1 Guest(s)