Not moving object
#2

First of all use IsPlayerInRangeOfPoint instead of PlayerToPoint. It's a native (default) function and is a lot more efficient.

Secondly, you have brackets messed up after //if(gTeam[i] == TEAM_NOOBS). Un-comment that line.

Debug your code with print() to see what is getting called. Also, what is the point in the timers under OnGameModeInit? Just create them open?
Reply


Messages In This Thread
Not moving object - by SnG.Scot_MisCuDI - 20.05.2012, 22:55
Re: Not moving object - by MP2 - 21.05.2012, 02:13
Re: Not moving object - by coole210 - 21.05.2012, 02:16
Re: Not moving object - by SnG.Scot_MisCuDI - 21.05.2012, 02:19
Re: Not moving object - by MP2 - 21.05.2012, 02:22
Re: Not moving object - by SnG.Scot_MisCuDI - 21.05.2012, 02:25
Re: Not moving object - by MP2 - 21.05.2012, 02:38
Re: Not moving object - by SnG.Scot_MisCuDI - 21.05.2012, 02:40
Re: Not moving object - by MP2 - 21.05.2012, 02:44
Re: Not moving object - by SnG.Scot_MisCuDI - 21.05.2012, 02:57

Forum Jump:


Users browsing this thread: 1 Guest(s)