error 028: invalid subscript (not an array or too many subscripts): "KillTimer"
#1

As title says, "error 028: invalid subscript (not an array or too many subscripts): "KillTimer" "
Код:
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;
	}
}
Quick help is appreciated.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)