22.07.2012, 06:24
As title says, "error 028: invalid subscript (not an array or too many subscripts): "KillTimer" "
Quick help is appreciated.
Код:
forward Drag(pid1);
public Drag(pid1)
{
if(IsPlayerConnected(pid1) && IsPlayerConnected(pDrag[pid1]))
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(pDrag[pid1],X,Y,Z);
SetPlayerPos(pid1,X,Y,Z);
return 1;
}
else
{
KillTimer[pDragTimer[pDrag[pid1]]];
return 1;
}
}

