Quote:
Originally Posted by SnG.Scot_MisCuDI
pawn Код:
(3016) : error 028: invalid subscript (not an array or too many subscripts): "JailTimer" (3016) : warning 215: expression has no effect (3016) : error 001: expected token: ";", but found "]" (3016) : error 029: invalid expression, assumed zero (3016) : fatal error 107: too many error messages on one line
3016
pawn Код:
KillTimer(JailTimer[targetid]);
is [targetid] really needed in JailTimer[targetid] ? If it doesnt have targetid will it kill the timer for everyone in jail?
|
Yes, seeing that you want to create the timer for an individual player and not one player, you'd have to make the variable an array. So it would be "new JailTimer[MAX_PLAYERS];" as MP2 said.