0 Members and 1 Guest are viewing this topic.
function PlayerDir(ID: Byte): integer;begin if(GetPlayerStat(ID,'Direction')='>') then begin Result := 1; end else begin Result := -1; end;end;
function PlayerDir(ID: Byte): Integer;begin if GetPlayerStat(ID, 'Direction') = '>' then Result := 1 else Result := -1;end;
So it's settled then, you think all scripters were born with brain damage? But really, there's should be a sticky or something where people could post short stuff like this.