|
|
#1 |
|
Little Clucker
![]() Join Date: May 2009
Posts: 48
Reputation: 0
|
What is wrong with this line?
GlobalPointPlayers[PlayerCapturing[playerid]]--; It says that the array is out of bounds, but its not. PlayerCapturing is defined MAX_PLAYERS and GlobalPointPlayers is MAX_POINTS (the size is 10) But im using this variable to check the current capturing point, Then its PlayerCapturing = Pointid < 10; (Then its never higher than MAX_POINTS). When im not capturing its INVALID_POINT which is 65534 Seems like this is to problem but its impossible since when im entering the CP the PlayerCapturing changes to Point id, and When im leaving the CP its becomes INVALID_POINT but firstly its uses the PlayerCapturing to wipe the other required point variables and then PlayerCapturing becomes INVALID_POINT. Then i can't understand what causes to crashdetector to be crazy... [17:00:19] [debug] #0 00022044 in public OnPlayerLeaveDynamicCP (playerid=0, checkpointid=1):1104 (.pwn) [17:00:19] [debug] #1 native Streamer_CallbackHook () [17:00:19] [debug] #2 00007f9c in public OnPlayerLeaveCheckpoint (playerid=0) :474 (Streamer.inc) |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FilterScript] [FS]Language detector | jonrb | Filterscripts | 26 | 25/12/2012 11:38 PM |
| [FilterScript] [FS] Crazy Speedometer (Crazy Speedo) ~ [v1 - GER & EN] | Littl3j0hNy | Filterscripts | 21 | 29/08/2012 01:34 PM |
| Holy shit, car crash made crazy teleport! | Meta | Bug Reports | 6 | 31/03/2011 11:05 PM |
| Bug detector | lithuania154 | Client Support | 2 | 15/07/2009 08:00 PM |